rolldev_inspector_traces
Lists recent PHP traces with per-category cost breakdown, optionally filtered by route, slowness, or recency, without modifying the environment.
Instructions
List recent PHP traces (one line each, with the cost split per category). Read-only: never changes the environment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_path": "<project_path>"
},
"name": "rolldev_inspector_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | slowest (default) or recent | |
| limit | No | Maximum number of traces (default 20) | |
| route | No | Only this route, e.g. catalog/category/view | |
| min_ms | No | Only traces slower than this many milliseconds | |
| project_path | Yes | Path to the project directory (holds .env.roll) | |
| save_output_to_file | No | Save the full output to a log file and return a preview (optional, default: false) |