rag_search_tool
Search a RAG vector store to find code relevant to a query. Optionally expand results using the project's call graph.
Instructions
Search the RAG vector store for code relevant to a query. Optionally expands results using the project's call graph.
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": "rag_search_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topK | No | ||
| query | Yes | ||
| projectId | No | default | |
| collection | No | code_nodes | |
| workingDirectory | No | ||
| useGraphExpansion | No |