Search documents
search_documentsSearch Outline wiki documents by keyword to get matching titles, URLs, and context snippets. Use returned ids to read full document bodies.
Instructions
Full-text search across Outline documents. Returns id, title, url and a short context snippet per hit. Does NOT return document bodies — call get_document with an id to read one.
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": {
"query": "<query>"
},
"name": "search_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results | |
| query | Yes | Search terms | |
| offset | No | Pagination offset | |
| collectionId | No | Restrict results to one collection |