Set the app icon
set_app_iconUploads the app's icon (base64 PNG, JPEG, WebP or GIF, up to 6 MB; the app's own 1024 px icon from the repository is ideal). Shown in the chat's header, emails and the dashboard. Cropped square and resized to 512 px. Owners only.
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": {
"image": "<image>"
},
"name": "set_app_icon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Base64 of the image file (or a data: URL). | |
| app_id | No | The app's id (from list_apps). Optional when there is only one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app. | |
| icon_url | Yes | The new icon's URL. |