compare_graph_to_text
Cross-check symbol caller edges against regex text search to surface missed call sites and flag likely false edges, revealing graph coverage gaps.
Instructions
Cross-check a symbol's graph caller edges against a regex text search of indexed source — surfaces call sites the tree-sitter graph missed and flags likely false edges. Use when you suspect graph coverage gaps.
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": {
"pattern": "<pattern>"
},
"name": "compare_graph_to_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ref | No | ||
| limit | No | ||
| symbol | No | ||
| include | No | What to include: `tests` (on by default); `references`, `unresolved`, `macros`, `common_methods` (off by default). Omit to keep defaults; an explicit list is the exact on-set. | |
| pattern | Yes | ||
| edge_kinds | No | ||
| resolution | No | ||
| allow_ambiguous | No |