Files Tool
amount.filesLists offloaded files for a selected rule with pagination, path search, and status filtering; returned file IDs can be used to recall or delete remote files.
Instructions
Read-only. What is offloaded for one rule: 50 files per page (newest first) with id, local_path, remote_path, size, status (pending/uploaded/failed/...), visibility and url. Only files the manager can still see in the file manager appear. Use q to search by path, page to continue (see pages). The id values feed amount.recall and amount.delete_remote.
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": {
"rule": "<rule>"
},
"name": "amount.files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Part of the local path, e.g. "backup" | |
| page | No | Page number, from 1 | |
| rule | Yes | Rule uuid from amount.rules | |
| status | No | Only this status, e.g. "uploaded" |