get_causal_chains
Identify causal chains from CUDA and host events, including severity, root cause, and recommendations. Deduplicates by operation to return the top chains.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| pid | No | filter by single process ID. 0 = all. Deprecated: use pids. | |
| pids | No | filter by process ID(s). Takes precedence over pid. | |
| tsc | No | telegraphic compression (default: true) | |
| top_n | No | max chains to return (default 10). Deduplicates by operation, keeps highest severity. Use 0 for all. |