@orangecheck/agent-vercel / OcToolWrapped
Interface: OcToolWrapped<TArgs, TResult>
Defined in: index.ts:149
Type Parameters
| Type Parameter |
|---|
TArgs extends Record<string, unknown> |
TResult |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-description"></a> description? | string | - | index.ts:152 |
<a id="property-execute"></a> execute | (args: TArgs, ctx: AgentContext & { callId: string; fleet?: FleetClient; }) => Promise<{ action: ActionEnvelope; posted: PostActionResult | null; result: TResult; }> | The execute fn the AI SDK calls. Receives args + a callId (the AI SDK passes its own callId through — adapter glue passes it via context). Optional fleet field on the context tells the wrapper to fire-and-forget POST the stamped action to fleet. ochk.io/api/actions after the underlying execute() returns. | index.ts:160 |
<a id="property-parameters"></a> parameters? | unknown | - | index.ts:151 |
<a id="property-verb"></a> verb | string | - | index.ts:150 |