veto_semantic_search
Searches code for natural-language questions by lexically ranking project lines against query keywords and returning matches for the AI to answer.
Instructions
Code search for natural-language questions (e.g. "where is user authentication handled?"). Veto ranks project lines by the query's keywords — lexical, not a vector index — and returns the ranked matches; the calling AI reads them to answer.
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>",
"project_dir": "<project_dir>"
},
"name": "veto_semantic_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language search query. | |
| project_dir | Yes | Absolute path to project root. | |
| agent_response | No | Phase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |