deals_list_files
Retrieve all files attached to a deal, including names, sizes, and download links. Supports pagination and sorting for file management.
Instructions
List all files attached to a deal.
Returns all files associated with this deal.
Workflow tips:
Shows file names, sizes, and upload dates
Includes download URLs for each file
Paginated for deals with many files
Cached for 5 minutes
Common use cases:
List all files: { "id": 123 }
Paginated list: { "id": 123, "start": 0, "limit": 50 }
Sorted by date: { "id": 123, "sort": "add_time" }
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": {
"id": "<id>"
},
"name": "deals_list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the deal | |
| sort | No | Field to sort by (e.g., add_time, file_name) | |
| limit | No | Number of items to return | |
| start | No | Pagination start |