@orangecheck/agent-vercel / OcToolWrapped
Interface: OcToolWrapped<TArgs, TResult>
Defined in: index.ts:142
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:145 |
<a id="property-execute"></a> execute | (args: TArgs, ctx: AgentContext & { callId: string; }) => Promise<{ action: ActionEnvelope; 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). | index.ts:151 |
<a id="property-parameters"></a> parameters? | unknown | - | index.ts:144 |
<a id="property-verb"></a> verb | string | - | index.ts:143 |