kb_attachments_get
Retrieve attachment metadata, including the attachment_uuid used to embed the file in a document body as kb-attachment://<uuid>. Pass include_download_url=true to also mint a short-lived download URL.
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_get"
}
}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 | |
| include_download_url | No | Mint a short-lived Brainattic download capability for the original file bytes (default false). The capability is unauthenticated and valid for about 5 minutes — anyone who obtains it can fetch the file — so ask for it only when you will download the bytes. To embed the attachment in a document, use attachment_uuid instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment | Yes |