Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/agent / / SubAgentToolRefs
Interface: SubAgentToolRefs
Defined in: packages/agent/src/runtime/agent-to-tool.ts:94
The live references SUBAGENT_TOOL carries (W-001). Typed loosely on purpose: the walk is generic over foreign TDeps/TOutput and only ever passes through values it received from the same factory instance.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
agentName | readonly | string | - | packages/agent/src/runtime/agent-to-tool.ts:95 |
buildSeed | readonly | (input, parentMessages) => AgentInput | Reproduce execute()'s seed semantics (inputFilter + input string). | packages/agent/src/runtime/agent-to-tool.ts:109 |
capability? | readonly | "read-only" | D2 capability restriction from AgentToToolOptions.capability. | packages/agent/src/runtime/agent-to-tool.ts:105 |
forwardEvents? | readonly | "none" | "lifecycle" | "all" | W-036: forwarding policy from AgentToToolOptions.forwardEvents. | packages/agent/src/runtime/agent-to-tool.ts:107 |
run | readonly | (input, options?) => Promise<AgentResult<unknown>> | - | packages/agent/src/runtime/agent-to-tool.ts:96 |
shapeCompleted | readonly | (result, turns) => { output: unknown; taint?: SubAgentFoldTaint; } | Reproduce execute()'s output shaping (exposeTurns/contextFold/taint). | packages/agent/src/runtime/agent-to-tool.ts:114 |
stream | readonly | (input, options?) => AsyncIterable<AgentEvent<unknown>> | - | packages/agent/src/runtime/agent-to-tool.ts:100 |