search_rag
Search local files using semantic retrieval to find relevant information based on keywords, with optional directory targeting for focused results.
Instructions
Search for keyword in RAG database. Args: keyword: Search query. dir_path: Optional directory to search in. If None, searches all indexed directories.
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": {
"keyword": "<keyword>"
},
"name": "search_rag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | ||
| dir_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |