sanity_get_document
Retrieve a specific Sanity document by providing its unique ID.
Instructions
Get a single Sanity document by its ID
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": {
"id": "<id>"
},
"name": "sanity_get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document ID (e.g., "post-123" or a Sanity-generated ID) |