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.
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) |