@orangecheck/agent-langgraph / OcToolNodeWrapped
Interface: OcToolNodeWrapped<TArgs, TResult>
Defined in: index.ts:151
Type Parameters
| Type Parameter |
|---|
TArgs extends Record<string, unknown> |
TResult |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-execute"></a> execute | (args: TArgs, ctx: AgentContext & { callId: string; graphState: Record<string, unknown>; }) => Promise<{ action: ActionEnvelope; result: TResult; }> | The execute fn your LangGraph node calls. Receives args + a context object with the agent ref, delegation, callId, current graph state, and the current graph state. | index.ts:158 |
<a id="property-verb"></a> verb | string | - | index.ts:152 |