Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/tools / code-mode / CodeExecuteBridge
Type Alias: CodeExecuteBridge
ts
type CodeExecuteBridge = (call, ctx) => Promise<unknown>;Defined in: packages/tools/src/code-mode/meta-tools.ts:111
Host bridge: run one bridged tool call and return its output. Receives the code_execute call's own ToolExecutionContext, so the agent can route the inner call through the real executor under the same runContext (same run / step / tracer / secrets scope).
Parameters
| Parameter | Type |
|---|---|
call | BridgedToolCall |
ctx | ToolExecutionContext |
Returns
Promise<unknown>