postmd_list_group_documents
Retrieve a paginated list of documents in a group, with optional search by title/file name, folder filter, and sorting by date or name.
Instructions
List documents in a group. Requires an API key with groups:read and documents:read. Paged; q searches title and file name (substring, case-insensitive).
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": {
"groupId": "<groupId>"
},
"name": "postmd_list_group_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search text for title and file name. | |
| page | No | ||
| size | No | ||
| sort | No | recent (default), oldest, name, name_desc, created or created_asc. | |
| groupId | Yes | ||
| folderId | No | Only documents filed in this folder. | |
| rootOnly | No | true → only documents not in any folder. |