@orangecheck/agent-langgraph / OcToolNodeWrapped
Interface: OcToolNodeWrapped<TArgs, TResult>
Defined in: index.ts:158
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; fleet?: FleetClient; graphState: Record<string, unknown>; }) => Promise<{ action: ActionEnvelope; posted: PostActionResult | null; result: TResult; }> | The execute fn your LangGraph node calls. Receives args + a context object with the agent ref, delegation, callId, current graph state, and an optional fleet field that triggers fire-and-forget POST to fleet.ochk.io/api/actions after the underlying execute returns. | index.ts:166 |
<a id="property-verb"></a> verb | string | - | index.ts:159 |