map_code
Maps every symbol in an ingested code file to its line range, so you can find where to look without reading the whole file.
Instructions
Skeleton of one ingested code file: every symbol with its line range. Use instead of reading the whole file when you only need to know WHERE to look. Self-heals against the local file if CM_CODE_ROOT is set.
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": {
"path": "<path>"
},
"name": "map_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |