Upload logo, favicon or social image
upload_assetUploads an image (PNG, JPEG, WebP or ICO, up to 512 KB) as base64. It updates the draft; it goes live when the person approves publishing.
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": {
"kind": "<kind>",
"dataBase64": "<dataBase64>"
},
"name": "upload_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which image | |
| apiKey | No | Your broker's agent key (obk_boot_... or obk_live_...), returned by create_broker. Pass it on every call except create_broker. | |
| dataBase64 | Yes | The image bytes, base64 encoded, without a data: prefix |