Upload File to Iagon
iagon_upload_fileUpload a local file to Iagon's encrypted, sharded decentralized storage and receive a file ID; files over 40MB are skipped.
Instructions
Upload a local file to Iagon decentralized storage.
This tool uploads a file from your local filesystem to Iagon's encrypted, sharded storage. Files are split into 6 pieces and distributed across multiple providers for redundancy.
Important: Files larger than 40MB will be skipped with an error message, as this exceeds Iagon's sharding limit.
Args:
local_path (string, required): Absolute path to the file on your local system
remote_path (string, optional): Name/path for the file in Iagon (defaults to original filename)
folder_id (string, optional): ID of the folder to upload to
Returns: Success/failure status with file ID if successful.
Examples:
Upload a video: local_path="/Users/me/videos/clip.mp4"
Upload with custom name: local_path="/tmp/video.mp4", remote_path="project-a/final.mp4"
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": {
"local_path": "<local_path>"
},
"name": "iagon_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | No | Optional: ID of the folder to upload to | |
| local_path | Yes | Absolute path to the local file to upload | |
| remote_path | No | Optional: Name/path for the file in Iagon storage (defaults to original filename) |