users_set_photo
Update your Slack profile photo by providing a base64-encoded image. Optionally specify crop dimensions to adjust the image.
Instructions
Set the user profile photo.
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_base64": "<image_base64>"
},
"name": "users_set_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop_w | No | Width/height of the square crop box, in pixels (the crop is always square). | |
| crop_x | No | X coordinate of the top-left corner of the crop box, in pixels. | |
| crop_y | No | Y coordinate of the top-left corner of the crop box, in pixels. | |
| image_base64 | Yes | The image to set, as a base64-encoded string of the raw image bytes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||