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.
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_files"
}
}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 |