Create Agent Logo Upload Tool
create_agent_logo_uploadStart uploading a logo image for one of the team's agents (the watermark shown on
rendered clips when composition_parameters.logo_watermark_enabled is true). Pass
the agent id (a hashid from list_agents), the filename, and the image
content_type (one of: image/jpeg, image/png, image/gif).
Returns a presigned upload_url and a logo_key. Upload the raw image bytes to
the url with a single HTTP PUT (no extra headers needed), e.g.:
curl -X PUT --upload-file ./logo.png "<upload_url>"
Then call set_agent_logo with the same agent and logo_key to attach it.
The image must be 2 MB or smaller. The url expires (see expires_in_seconds).
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": {
"agent": "<agent>",
"filename": "<filename>",
"content_type": "<content_type>"
},
"name": "create_agent_logo_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Optional image size in bytes. Rejected up front if over the 2 MB limit; the actual uploaded size is re-checked on set_agent_logo. | |
| agent | Yes | The agent id (hashid) from list_agents to attach the logo to. | |
| filename | Yes | The image file name, e.g. "logo.png". | |
| content_type | Yes | The image MIME type: image/jpeg, image/png, or image/gif. |