Set brand image
setBrandImageSet one of the brand images of this workspace from an image in Files, replacing the one there was: the mark (a square icon), the logo, the logo for dark mode, or the photo behind the sign-in page of its web app address. Setting the sign-in photo also switches the sign-in page to it. The image is fitted and stored as WebP; it can start from up to 100MB. Pass crop to keep only part of it.
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": {
"variant": "<variant>",
"fileId": "<fileId>"
},
"name": "setBrandImage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | The part of the image to keep, each value a fraction of the whole from 0 to 1: x and y are its left and top edges, width and height its size. Leave it out to keep the whole image. | |
| fileId | Yes | The fileId of an image in Files: one the user attached in this chat, or one listFiles found. | |
| variant | Yes | Which image: mark, wordmark, wordmark-dark, login-background. mark is the square icon, wordmark the logo, wordmark-dark the logo for dark mode, and login-background the photo behind the sign-in page of the web app address. |