Set category image
set_category_imageSet or remove the picture of ONE category. Pass a public https image link in url (JPEG, PNG or WebP, at most 2 MB; a bigger file is refused, there is no resize) — Obriym stores its own copy and the previous picture is deleted only after the new one is in place. Pass url: null to remove the current picture. Idempotent in effect: repeating it leaves the same picture. Use list_categories to find the category id. The result echoes the workspace.
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": {
"categoryId": "<categoryId>",
"url": "<url>"
},
"name": "set_category_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A public https image link (JPEG, PNG or WebP, at most 2 MB) to use as the category picture, or null to remove the current picture. | |
| categoryId | Yes | The category id from list_categories. |