Skip to main content

Module debug

Module debug 

Source
Expand description

Read tools over debug mode: trace listing/inspection and the sandbox.

Structs§

GetTraceArgs
GetTraceStepArgs
ListTracesArgs
SandboxArgs
Schema for run_sandbox. Typed and documented field by field so an agent sees the exact payload shape; the tool still hands the raw JSON to the sandbox runner, which validates (and forgives a few common variants: query/uri aliases, JSON bodies written as objects, numeric header values, response.status).
SandboxContextArgs
SandboxNodeArgs
One ad-hoc node: { "id": "rw", "type": "proxy-rewrite", "config": {...} }.
SandboxResponseArgs

Enums§

SandboxOnError
SandboxValue
Header / query-parameter values: a string, or a list of strings for repeated values. Numbers and booleans are accepted and stringified.

Functions§

get_trace
get_trace_step
list_traces
require_debug 🔒
run_sandbox_tool
run_sandbox takes the same body as POST /api/debug/sandbox. Shape errors come back with a hint showing the accepted payload, because a model that guessed wrong needs the correct shape, not just the field name.