get_causal_chains
Analyze CUDA and host events to identify causal chains explaining GPU latency, with severity, root cause, and recommendations. Deduplicates by operation for concise results.
Instructions
Analyze CUDA + host events and return causal chains with severity, root cause, and recommendations. Deduplicates by operation, returns top 10 by default (use top_n to adjust). AI-first: TSC-compressed by default. Works with both live and saved/offline databases. Omit 'since' for saved DBs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_causal_chains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | filter by single process ID. 0 = all. Deprecated: use pids. | |
| tsc | No | telegraphic compression (default: true) | |
| pids | No | filter by process ID(s). Takes precedence over pid. | |
| since | No | time range relative to NOW, e.g. 1m, 5m. Omit for saved/offline DBs to query ALL events. Only useful during live tracing. | |
| top_n | No | max chains to return (default 10). Deduplicates by operation, keeps highest severity. Use 0 for all. |