List docs
list_docsList docs you can see, latest edit first, 50 per page. Filter by spaceId, state (active by default), parentId (a doc ID, or root for top-level docs), q (title, slug, or identifier), lastEditedBy (a user ID or me), or locked. Set sort to title or createdAt, with order, to sort the newest 500 visible docs. Use get_doc for content, search for keywords.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Matches the title, slug, or identifier. | |
| sort | No | Sorting reads the newest 500 visible docs. | |
| limit | No | Page size. Default 50. | |
| order | No | Default desc, or asc for title. | |
| state | No | Default active. | |
| cursor | No | Previous nextCursor. | |
| locked | No | Only locked or unlocked docs. | |
| spaceId | No | Only this space. | |
| parentId | No | A doc ID for its children, or root for top-level docs. | |
| lastEditedBy | No | User ID or me. | |
| response_format | No | How much to return. concise applies when omitted; detailed adds every field and the full text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | This page of results. | |
| hasMore | No | true when another page exists. | |
| nextCursor | No | Pass as cursor for the next page. Null or absent on the last page. |