locate
Find the location of features or symbols in a codebase, returning ranked hits with summaries and a source snippet of the top result. Confirm where code lives with a single call.
Instructions
Find where a feature or symbol lives in ONE call: ranked hits with their summaries, plus a source snippet of the top hit to confirm. Start here for "where is X" / "where do we do Y" — usually all you need; no setup call required first.
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": {
"query": "<query>"
},
"name": "locate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | max hits (default 8) | |
| query | Yes |