find_symbol
Locates indexed code declarations by stable ID, exact or qualified name, or partial name within a repository, returning stable IDs for use with relationship tools.
Instructions
Finds indexed declarations by stable ID, exact name or qualified name, or partial name. Use the returned stable IDs with the relationship tools.
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": {
"repository_root": "<repository_root>",
"query": "<query>"
},
"name": "find_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Stable symbol ID, declaration name, or qualified name to find. | |
| repository_root | Yes | Absolute path to the Git repository root to explore. |