semantic_search
Search codebase using vector similarity to find relevant code snippets based on semantic meaning, with optional filters and output formatting.
Instructions
Perform semantic search in codebase using vector similarity.
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": "semantic_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query string | |
| format | No | Output format: 'markdown' or 'json' | markdown |
| filters | No | Optional filters to apply to the search results | |
| n_results | No | Number of results to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| analysis_status | No |