op_list_documents
Retrieve documents from OpenProject, sorted newest first, supporting title search, sorting, pagination, and project filtering. Access documents across all projects or a specific project.
Instructions
List documents (the Documents module), newest first. A document is a titled container for attachments with a markdown description. APIv3 has no document create or delete (UI-only), so documents are read and updated only. project: "all" searches every project even when OPENPROJECT_PROJECT_ID is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Sort direction. Default "desc". | |
| offset | No | Page offset. Default 0. | |
| search | No | Free-text title search. | |
| sortBy | No | Sort key. Default "created_at". | |
| project | No | Project identifier or id. Defaults to OPENPROJECT_PROJECT_ID; "all" for every project. | |
| pageSize | No | Default 200. |