Attach a file to a task
add_agenda_fileAttach an image, video or audio that is already online (a public URL) to a task: role "reference" for what the agency sends (e.g. "film it like this"), "delivery" for a take the creator hands in. It is copied into that client library. Large takes are better uploaded by the person from the app (up to 5 GB).
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": {
"id": "<id>",
"url": "<url>",
"type": "<type>"
},
"name": "add_agenda_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task id (from list_agenda). | |
| url | Yes | Public URL of the image, video or audio. | |
| name | No | File name to show. | |
| role | No | Default "reference". | |
| type | Yes | ||
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |