monitor extension traces a standalone tool call as one span.
Query metrics
Query aggregate metrics over a time range.--from and --to take an ISO instant or a relative token (7d, 30d); --granularity is hour, day, or week.
List and read traces
1
List runs
List observability runs, or download the filtered list with
--export.2
Read one trace
Get one run’s full trace, or download it as JSON with
--export.Trace a standalone tool call
A tool call outside a flow or agent has no trace of its own. Load themonitor extension and stack it onto a tool to record the call as one live span. Load the module, then attach monitor to a tool.
manifest.yml
Metrics and traces are served by a monitoring backend plugin, registered under
monitoring_module. Without one, the runtime uses a no-op default and there is nothing to query. To build a backend, see Author a monitoring backend.See also
- Live operations — status, retry, and runtime state.
- The MCP-citizen surface — progress and structured output that traces capture.
- Author a monitoring backend — implement the monitoring surface.
- CLI reference — the full
tai obsandtai tracessurface.

