upload_task_attachment
Upload a file as an attachment to a ClickUp task. Supports local file path, remote URL, or base64-encoded content.
Instructions
Attach a file to a task. Provide exactly one source: file_path (local), url (remote file to fetch), or base64 (raw content). file_name is required when using base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task ID. | |
| file_path | No | Absolute local file path. | |
| url | No | Remote HTTPS file URL to download and attach (private/loopback hosts are rejected). | |
| base64 | No | Base64-encoded file content. | |
| file_name | No | File name (required for base64; overrides others). | |
| custom_task_ids | No | ||
| team_id | No | Team/Workspace ID. Falls back to CLICKUP_TEAM_ID when omitted. |