sanity_search
Search for documents using full-text search across titles, names, descriptions, and body content. Filter results by document type and limit.
Instructions
Search for documents using full-text search across titles, names, descriptions, and body content
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": {
"searchTerm": "<searchTerm>"
},
"name": "sanity_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| searchTerm | Yes | The search term | |
| types | No | Optional: Limit search to specific document types | |
| limit | No | Maximum number of results (default: 20) |