Search Space Documents Tool
search-space-documentsUse this when the user wants to find pages, docs, documents, or content inside one specific Space. Read-only: searches the selected Space and returns matching document snippets without changing content. Requires numeric space_id from list-spaces.
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": {
"space_id": "<space_id>",
"query": "<query>"
},
"name": "search-space-documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| query | Yes | Search query (minimum 2 characters) | |
| per_page | No | Number of results per page | |
| space_id | Yes | The numeric ID of the space to search in. Call list-spaces first. | |
| highlight | No | Whether to highlight search terms in results |