Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/tools / / ToolContextOptions
Interface: ToolContextOptions<TDeps>
Defined in: packages/tools/src/executor/tool-context.ts:46
Configuration for buildToolExecutionContext.
Type Parameters
| Type Parameter | Default type |
|---|---|
TDeps | unknown |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
logger? | readonly | Logger | - | packages/tools/src/executor/tool-context.ts:53 |
runContext | readonly | RunContext<TDeps> | - | packages/tools/src/executor/tool-context.ts:49 |
secretResolver? | readonly | SecretResolverHook | The secrets resolver injected by the agent runtime. | packages/tools/src/executor/tool-context.ts:55 |
signal | readonly | AbortSignal | - | packages/tools/src/executor/tool-context.ts:50 |
streamingChannel | readonly | StreamingChannel | - | packages/tools/src/executor/tool-context.ts:51 |
tool | readonly | ResolvedTool<unknown, unknown, TDeps> | - | packages/tools/src/executor/tool-context.ts:47 |
toolCallId | readonly | string | - | packages/tools/src/executor/tool-context.ts:48 |
tracer? | readonly | Tracer | - | packages/tools/src/executor/tool-context.ts:52 |