trace_summary
Summarize trace session details including step count, errors, and timing for monitoring and debugging agent safety operations.
Instructions
Get a summary of the current trace session — step count, errors, timing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/agent_safety_mcp/server.py:331-335 (handler)The implementation of the 'trace_summary' MCP tool. It retrieves the tracer and returns its summary.
@mcp.tool() def trace_summary() -> dict: """Get a summary of the current trace session — step count, errors, timing.""" tracer = _get_tracer() return tracer.summary()