list_files
List files in ERPNext with filters for privacy, document name, and document type to retrieve specific attachments.
Instructions
List files in ERPNext, optionally filtered by attachment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max number of files to return (default 20) | |
| is_private | No | Filter by privacy (True=private, False=public, None=all) | |
| attached_to_name | No | Filter by document name (e.g. "PROJ-0001") | |
| attached_to_doctype | No | Filter by DocType (e.g. "Project", "Item") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |