Feishu Bitable Attachment Uploader
Use this skill when the real problem is writing local files into a Bitable attachment field.
Use this skill for
- 把本地文件写入 Bitable 附件列
- 大于
20MB的文件自动分片上传 - 追加很多附件到同一条记录
- 先查记录,再写附件
Do not use this skill for ordinary text/number fields or for sending files into Feishu chat.
Default workflow
- Confirm
app_token,table_id, and the attachment field name. - Prefer
record_idif known. - If
record_idis unknown, use a stable lookup field first. - Default to append; only replace attachments when the user explicitly wants replacement.
- For many files, lower append batch size and slow down if needed.
Working rules
- Keep
FEISHU_APP_IDandFEISHU_APP_SECRETin env, never in code. - Treat
appendas the safe default. - Use stable lookup keys such as URL, external id, or unique title.
- If only normal fields are being changed, use the base Feishu Bitable tools instead of this attachment-specific workflow.
Read references as needed
references/feishu-bitable-attachment-api.md
For API details, payload shape, and upload/update semantics.