search_docs
Search document titles, and revisions by author or number, ignoring case. Use it when you know part of a title, or want every revision one author published. Returns matching documents and then matching revisions, up to 20 of each per page, plus next_cursor.
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": {
"q": "<q>"
},
"name": "search_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | part of a title, an author's name, or a revision number such as #2 | |
| cursor | No | next_cursor from the previous page; leave out for the first page |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docs | Yes | ||
| query | Yes | The words as matched: trimmed, in lower case, at most 100 characters. | |
| has_more | Yes | Whether another page follows. | |
| revisions | Yes | ||
| truncated | Yes | Whether the workspace was too large to search in full. | |
| total_docs | Yes | How many documents the workspace holds. | |
| next_cursor | Yes | Pass as cursor to read the next page; null on the last one. |