Upload an image or video
upload_mediaPut an image or video into an organization's file library and get back the id that create_publication consumes in files. A public https URL. This server runs in HTTP mode, so a local path would be a path on the SERVER, not on the user's machine, and is refused. Accepted formats: jpg, jpeg, png, gif, mp4, heic, heif.
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": {
"source": "<source>"
},
"name": "upload_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | A public https URL. This server runs in HTTP mode, so a local path would be a path on the SERVER, not on the user's machine, and is refused. | |
| filename | No | Name to store it under. Deduced from the source when omitted. | |
| id_organization | No | The PlanVortex organization id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upload | Yes | ||
| already_existed | Yes |