Upload File
kaiten_upload_fileUpload a file attachment to a Kaiten card by providing card ID, file name, and base64-encoded content. Verify success by listing files on the card.
Instructions
Upload file attachment (base64). Verify with kaiten_list_files. Prefer description links for large files. Note: Kaiten does not persist the multipart Content-Type — mime_type in responses is inferred from the file extension. contentBase64 is decoded leniently — empty strings and garbage produce 0-byte uploads silently. Validate before calling.
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": {
"cardId": "<cardId>",
"fileName": "<fileName>",
"contentBase64": "<contentBase64>"
},
"name": "kaiten_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardId | Yes | Card ID | |
| fileName | Yes | File name | |
| verbosity | No | Detail: raw|min(default)|normal|max | min |
| contentType | No | MIME type (NOTE: ignored by Kaiten — kept for client compatibility. mime_type in responses is inferred from filename extension) | application/octet-stream |
| contentBase64 | Yes | File content as base64 string (non-empty) |