List documents
project_doc_listList indexed project documents, applying filters for kind, status, or managed state to locate relevant files.
Instructions
List indexed and managed documents, filtered by kind, status or freshness.
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": "project_doc_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Keep only these document kinds. Project-declared, so the accepted values vary; project_workspace reports them. | |
| limit | No | Maximum documents to return. | |
| offset | No | Skip this many matches before the page starts. | |
| status | No | Keep only these document statuses. Project-declared, so the accepted values vary; project_workspace reports them. | |
| managed | No | true keeps only documents Workfile owns under the managed docs root; false keeps only repository files it merely indexes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum this page could contain. | |
| total | Yes | Matches before offset and limit were applied. | |
| offset | No | Offset this page started at. | |
| records | Yes | Documents matching the filters, in list projection. |