trace_contract
Trace a symbol or path across all layers to get its stack location, contract triangle, cross-layer verification tasks, and active pull-request links in one lookup.
Instructions
Full cross-layer trace: stack location + contract triangle + cross-layer verify tasks + active-PR links.
This is the enriched trace. Use trace_in_stack for a lightweight stack-location-only lookup.
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": {
"symbol_or_path": "<symbol_or_path>"
},
"name": "trace_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol_or_path | Yes | Symbol name or path to trace through the stack (e.g. "LowerHostTensorCollectives", "pypto/src/codegen/distributed/foo.cc"). Matched against abstraction cards, path-prefix rules, and contract artifacts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||