kaiten_files_write
Manage Kaiten file attachments by uploading base64 bytes, attaching files to cards, comments, or custom properties, and updating or deleting them.
Instructions
Select request.operation and provide its fields in request.args. cardFiles.attachFileToCard: Legacy deprecated numeric-ID upload. Decode base64 to Blob and let the public client build multipart/form-data. cardFiles.detachFileFromCard: Delete a legacy numeric-ID card attachment. cardFiles.updateFile: Update the legacy attachment card-cover flag, preserving false and omission. restrictedAccessCardFiles.attachFileToCard: Upload base64 file bytes to a card UUID using the public multipart client method. restrictedAccessCardFiles.updateCardFile: Rename a restricted card file or update its card-cover flag. restrictedAccessCardFiles.deleteCardFile: Delete a restricted card file by UUID. restrictedAccessCommentFiles.attachFileToComment: Upload base64 file bytes to a comment using card and comment UUIDs. restrictedAccessCommentFiles.updateCommentFile: Update comment-file name and card_cover using the native partial body. restrictedAccessCommentFiles.deleteCommentFile: Delete a restricted comment file by UUID. restrictedAccessCustomPropertyFiles.attachFileToCustomProperty: Upload base64 file bytes to a custom property using card and property UUIDs. restrictedAccessCustomPropertyFiles.updateCustomPropertyFile: Update custom-property-file name and card_cover using the native partial body. restrictedAccessCustomPropertyFiles.deleteCustomPropertyFile: Delete a restricted custom-property file by UUID.
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": {
"request": "<request>"
},
"name": "kaiten_files_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||