Document List
document_listList document assets filtered by scope, search, and page. Retrieve read-only results without modifying or consuming files.
Instructions
List document assets with scope, search, and page filters. Use campaign_document_list to discover personal documents shared into this campaign; use document_read for content. Read-only; upstream filters by access. USER restricts to personal assets (including an explicit current-user filter for admins); null scope leaves filtering to upstream. Repeated listing does not consume or modify assets. Returns {ok:true,data} on success; tool-body failures return {ok:false,error} with optional diagnostic data. Argument-schema errors are MCP errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | One-based page number, integer >=1; defaults to the first page. | |
| limit | No | Assets per page, integer 1..100; defaults to 50. | |
| scope | No | Optional USER/CAMPAIGN/GLOBAL filter; null leaves scope unspecified. USER means current-user personal assets. | |
| search | No | Optional search text passed upstream; null omits the filter, empty text is sent explicitly. | |
| campaign_id | No | Explicit campaign ID; null uses the configured campaign when scope=CAMPAIGN, otherwise omits the field. If supplied, it is forwarded for any scope. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||