asset_files
Manage asset file attachments by uploading, listing, downloading, or deleting them in Snipe-IT.
Instructions
Manage file attachments for assets.
Operations:
upload: Upload one or more files to an asset
list: List all files attached to an asset
download: Download a specific file from an asset
delete: Delete a specific file from an asset
Returns: dict: Result of the operation including success status and data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Notes for uploaded files (for upload action) | |
| action | Yes | The file operation to perform | |
| file_id | No | File ID (required for download and delete actions) | |
| asset_id | Yes | Asset ID | |
| save_path | No | Path to save downloaded file (for download action) | |
| file_paths | No | List of file paths to upload (for upload action) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||