license_files
Manage file attachments for licenses in Snipe-IT: upload, list, download, or delete files linked to a specific license.
Instructions
Manage file attachments for licenses.
Operations:
upload: Upload a file to a license
list: List all files attached to a license
download: Download a specific file from a license
delete: Delete a specific file from a license
Returns: dict: Result of the operation including success status and data
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": {
"action": "<action>",
"license_id": "<license_id>"
},
"name": "license_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The file operation to perform | |
| file_id | No | File ID (required for download and delete actions) | |
| file_path | No | File path to upload (for upload action) | |
| save_path | No | Path to save downloaded file (for download action) | |
| license_id | Yes | License ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||