clickup_download_document_page_attachment
Downloads a ClickUp doc page attachment by page and attachment ID, returning a short-lived download URL and metadata. Fetch the URL immediately and only once, then request a fresh URL if it expires.
Instructions
Download a ClickUp doc page attachment (get attachment IDs from clickup_list_document_page_attachments). Returns a short-lived download URL plus attachment metadata. IMPORTANT: the URL is short-lived and, on workspaces with private attachments enabled, single-use — it expires within ~5 minutes. Fetch it immediately and exactly once; do not preview, HEAD-request, retry, or store it. If a download fails or the URL expired, call this tool again for a fresh URL.
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": {
"page_id": "<page_id>",
"attachment_id": "<attachment_id>"
},
"name": "clickup_download_document_page_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ID of the doc page (e.g. 'ad-2675877'). In ClickUp doc URLs, the page_id is the second ID after /docs/ or /v/dc/. Use list_document_pages to discover page IDs. | |
| workspace_id | No | Workspace ID (digits only). Only needed when you have multiple workspaces. | |
| attachment_id | Yes | Attachment ID — the `id` field returned by clickup_list_document_page_attachments for the page. |