@orangecheck/agent-mcp / invokeWithStamp
Function: invokeWithStamp()
function invokeWithStamp<T>(input: InvokeWithStampInput<T>): Promise<InvokeWithStampResult<T>>;
Defined in: index.ts:154
Stamp the invocation first, then execute the call. The stamped envelope is returned alongside the result so the caller can ship them together.
Rationale for stamping first: if the downstream call hangs or fails, we still have an on-record commitment that this agent attempted this specific invocation. The server-side verifier sees a stamped intent plus the server's own transcript.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
input | InvokeWithStampInput<T> |
Returns
Promise<InvokeWithStampResult<T>>