Search Corpus
search_corpusSearch a corpus by query string to get matching results. For deferred or remote sources, it returns a clear provenance envelope instead of an ambiguous failure.
Instructions
Search a corpus for a query string.
For enabled/local adapters, returns matching results. For deferred or remote-only sources, returns an explicit not_ready/remote_only result with provenance envelope rather than failing ambiguously.
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": {
"corpus": "<corpus>",
"query": "<query>"
},
"name": "search_corpus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| corpus | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||