Upload an image for knowledge base articles
colliedesk_kb_image_uploadStore a PNG, JPEG, GIF or WebP image (at most 5 MiB, given as base64) and get the url to link in an article as . The type is judged from the bytes. Location and camera data are removed. The same bytes give the same image. Images count toward the plan's storage. An image no article links is deleted 30 days after its last upload unless keep is true.
Needs: kb_media:create.
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": {
"data_base64": "<data_base64>"
},
"name": "colliedesk_kb_image_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Alt text the editor offers when it inserts the image. | |
| keep | No | Keep it in the library even if no article ever uses it. | |
| name | No | What the media library shows. | |
| data_base64 | Yes | The image bytes, standard base64. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes |