Search documents
search_docsSearch local documents to retrieve relevant sources and snippets for grounding AI responses in verified information.
Instructions
Search the local document set for a query and return the most relevant documents with snippets. Use this to ground answers in real sources before responding.
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": "search_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language query or keywords | |
| limit | No | Max results |