rolldev_inspector_trace
Analyze a single trace to identify bottlenecks: cost by category, hot spans, repeated N+1 calls, and slowest calls, with optional raw spans. Read-only.
Instructions
Bottleneck analysis of one trace: cost per category, hot spans, repeated (N+1) calls and the slowest calls, as compact text plus JSON. Raw spans only with include_spans (top 200 by self time). Read-only: never changes the environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Trace id from rolldev_inspector_traces | |
| project_path | Yes | Path to the project directory (holds .env.roll) | |
| include_spans | No | Also return the raw spans, capped at 200 by self time (default: false) | |
| save_output_to_file | No | Save the full output to a log file and return a preview (optional, default: false) |