Upload Directory to Iagon
iagon_upload_directoryUpload all files from a local directory to Iagon storage, with optional glob filtering, recursive subdirectory scanning, and destination folder selection. Files over 40MB are skipped.
Instructions
Upload all files from a local directory to Iagon storage.
This tool scans a directory and uploads all matching files. Files larger than 40MB will be skipped.
Args:
local_directory (string, required): Absolute path to the local directory
folder_id (string, optional): ID of the destination folder in Iagon
include_pattern (string, optional): Glob pattern to filter files (e.g., ".mp4", ".mov")
recursive (boolean, optional): Include files from subdirectories (default: false)
Returns: Summary of uploads with success/failure status for each file.
Examples:
Upload all videos: local_directory="/Users/me/videos", include_pattern="*.mp4"
Upload recursively: local_directory="/Users/me/project", recursive=true
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_directory": "<local_directory>"
},
"name": "iagon_upload_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | No | Optional: ID of the destination folder in Iagon | |
| recursive | No | Include files from subdirectories | |
| include_pattern | No | Optional: Glob pattern to filter files (e.g., '*.mp4') | |
| local_directory | Yes | Absolute path to the local directory to upload |