live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/agent-langgraph


@orangecheck/agent-langgraph / OcToolNodeWrapped

Interface: OcToolNodeWrapped<TArgs, TResult>

Defined in: index.ts:158

Type Parameters

Type Parameter
TArgs extends Record<string, unknown>
TResult

Properties

PropertyTypeDescriptionDefined in
<a id="property-execute"></a> execute(args: TArgs, ctx: AgentContext & &#123; callId: string; fleet?: FleetClient; graphState: Record&lt;string, unknown>; &#125;) => Promise&lt;&#123; action: ActionEnvelope; posted: PostActionResult | null; result: TResult; &#125;>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> verbstring-index.ts:159