sanity_references
Find all documents referencing a specific document ID to prevent broken references before deletion.
Instructions
Find all documents that reference a given document. Essential before deleting to avoid broken references.
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_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document ID to find references to | |
| limit | No | Maximum number of referencing documents to return (default: 100) |