oc · docs
docs / documentation

@orangecheck/agent-vercel


@orangecheck/agent-vercel / OcToolWrapped

Interface: OcToolWrapped<TArgs, TResult>

Defined in: index.ts:142

Type Parameters

Type Parameter
TArgs extends Record<string, unknown>
TResult

Properties

PropertyTypeDescriptionDefined in
<a id="property-description"></a> description?string-index.ts:145
<a id="property-execute"></a> execute(args: TArgs, ctx: AgentContext & &#123; callId: string; &#125;) => Promise&lt;&#123; action: ActionEnvelope; result: TResult; &#125;>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> verbstring-index.ts:143