Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/tools / code-mode / CodeExecuteToolOptions
Interface: CodeExecuteToolOptions
Defined in: packages/tools/src/code-mode/meta-tools.ts:155
Configuration for createCodeExecuteTool.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
allowedTools | readonly | readonly string[] | Names the script may call. Discovered (deferred) names may be added. | packages/tools/src/code-mode/meta-tools.ts:159 |
approvalGatedTools? | readonly | readonly string[] | Approval-gated tool names (TL-8) - listed in the catalogue with a call-directly marker (they cannot suspend for HITL mid-script). | packages/tools/src/code-mode/meta-tools.ts:170 |
executeTool | readonly | CodeExecuteBridge | Host bridge for each tools.<name>(args) call. | packages/tools/src/code-mode/meta-tools.ts:161 |
limits? | readonly | CodeExecuteLimits | Sandbox limits. | packages/tools/src/code-mode/meta-tools.ts:163 |
projection | readonly | CodeApiProjection | Projection over the eager tool set, embedded in the description. | packages/tools/src/code-mode/meta-tools.ts:157 |
run? | readonly | (o) => Promise<BridgedSourceResult> | Override the runner (tests inject a fake). Default runBridgedSource. | packages/tools/src/code-mode/meta-tools.ts:165 |