search_debug_traces
Find relevant error logs, slow queries, or business ID execution traces using natural language queries to diagnose runtime issues and fix root causes with evidence.
Instructions
Entry point for troubleshooting. Search for relevant error logs, slow queries, or specific business ID execution traces based on user questions or error descriptions.
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": {
"projectId": "<projectId>",
"query": "<query>"
},
"name": "search_debug_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of most relevant trace records to return. | |
| query | Yes | A natural language description of the issue or context you are investigating. It can include specific error messages, symptoms (e.g., 'high latency'), business IDs (e.g., 'order #123'), or any general question about the request execution flow you want to analyze. | |
| since | No | Optional time range for the search (e.g., '30m', '1h', '1d'). Defaults to empty, which means no time limit. | |
| projectId | Yes | The unique identifier of the project. |