Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/agent / / AgentCallOptions
Interface: AgentCallOptions<TDeps>
Defined in: packages/agent/src/types.ts:462
Per-call options accepted by agent.stream(...) / agent.run(...).
Stable
Type Parameters
| Type Parameter |
|---|
TDeps |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
capability? | readonly | "read-only" | Per-run capability restriction (D2) - overrides AgentConfig.capability for this invocation. See that field for semantics. Not persisted in RunState: re-supply it when resuming a suspended run. | packages/agent/src/types.ts:479 |
deps? | readonly | TDeps | - | packages/agent/src/types.ts:463 |
directive? | readonly | ResumeDirective | HITL resume directive. Supplied alongside a RunState to resolve any approvals that were pending when the previous agent.run(...) call suspended. | packages/agent/src/types.ts:472 |
parentSpan? | readonly | AISpan<SpanType> | W-036: parent span for this run's agent.run root span - a multi-agent invocation forms ONE trace tree (the child's run span parents under the caller's step/tool span). The runtime supplies it automatically for handoffs and toTool sub-agents. Like capability, it is NOT persisted in RunState: re-supply on resume when stitching matters. | packages/agent/src/types.ts:488 |
sessionId? | readonly | string | - | packages/agent/src/types.ts:465 |
signal? | readonly | AbortSignal | - | packages/agent/src/types.ts:464 |
userId? | readonly | string | - | packages/agent/src/types.ts:466 |