search
Retrieve raw source chunks matching your query, with similarity scores. Use this to access underlying documents without a synthesized answer.
Instructions
Retrieve the raw top-k source chunks matching a QUERY, with similarity scores and no
synthesized answer. Use this when you want the underlying documents themselves. To get a
written, cited answer instead, use ask.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | How many top matching chunks to return. | |
| query | Yes | The search query to match against stored document chunks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |