docugen_list_documents
List the documents of a project, optionally filtered by type, status or feature group. Each row carries featureGroup: {id, name} of its feature group, or null. Archived documents are left out unless you pass includeArchived: true, which is how you find the id of something to hand to docugen_restore_document.
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": {
"projectId": "<projectId>"
},
"name": "docugen_list_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional document type, such as product_description or technical_spec | |
| status | No | Optional status, such as draft, in_review or approved | |
| projectId | Yes | Project id | |
| featureGroupId | No | Optional feature group id, from docugen_list_feature_groups: only the documents of that group | |
| includeArchived | No | Include archived documents in the result. Each row carries an "archived" flag so you can tell them apart. Defaults to false. |