Read a document
search_get_documentRead one document of an index by its id. Use when checking what an index holds for one record. Before: a document id from search_query. Returns the stored document. Scope: search:query. Cost: priced at get_pricing; any price is reserved on the prepaid balance before the call. Refused for balance or a limit: follow next_action.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "sku-1",
"name": "products"
},
"name": "search_get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id. | |
| name | Yes | Index name. |