kb_attachments_view_image
Present an existing Brainattic image attachment. Native MCP image content is the default; presentation_mode=auto falls back to a short-lived Brainattic presentation URL only when the normalized rendition is above the 1 MiB native envelope. Use native to require ImageContent, or url to explicitly request the Brainattic presentation capability. This tool never exposes MinIO or returns the original image bytes as a download.
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": {
"attachment_uuid": "<attachment_uuid>"
},
"name": "kb_attachments_view_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant_slug | No | Tenant slug to target. Required when your token grants several workspaces; omit when it grants one. If you omit it with several, the refusal names your default workspace; call kb_tenants_list to see every workspace the token grants. | |
| attachment_uuid | Yes | Attachment UUID, as returned by kb_attachments_upload, kb_attachments_list or kb_attachments_get | |
| presentation_mode | No | Presentation mode. Default auto: native ImageContent when <=1 MiB, otherwise Brainattic URL fallback. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes |