list_documents
Lists documents (content instances) in an organization with pagination and filters for state, type, title, and instance ID.
Instructions
List documents (content instances) in the organisation. Paginated — check total_pages and paginate before concluding a document doesn't exist.
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_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (responses are paginated; check page_number/total_pages/total_entries in the result and paginate past page one when searching) | |
| sort | No | Sort: instance_id | instance_id_desc | inserted_at | inserted_at_desc | expiry_date | expiry_date_desc | |
| state | No | Filter by state name | |
| instance_id | No | Filter by human-readable instance id (e.g. NDA0001) | |
| content_type_name | No | Filter by content type name | |
| document_instance_title | No | Filter by title |