upload_media
Upload a local file or fetch a remote URL to obtain a storage path for use in hero images and media arrays.
Instructions
Upload a local file or have the server fetch a remote URL. Returns a /storage/... URL to reference in hero_image / media[].url.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| url | No | ||
| subdir | No |