download_post_attachment
Download attachments from posts in Pararam Nexus MCP, saving files to disk or displaying supported formats directly in Claude.
Instructions
Download a specific attachment from a post.
If output_path is provided, saves file to disk and returns DownloadAttachmentResponse. If output_path is None and file type is supported, returns ImageContent for direct display. If output_path is None and file type is not supported, returns DownloadAttachmentErrorResponse.
Supported file types for ImageContent:
Images: JPEG, PNG, GIF, WEBP
Documents: PDF, DOCX, DOC, TXT, RTF, ODT, HTML, EPUB
Spreadsheets: XLSX, XLS, CSV
Data: JSON, XML
Args: chat_id: ID of the chat post_no: Post number file_guid: GUID of the file to download (from get_post_attachments) output_path: Optional absolute path where to save the file. If None, only supported file types can be displayed
Returns: ImageContent for supported file types (direct display in Claude), DownloadAttachmentResponse model when saved to disk, DownloadAttachmentErrorResponse model for errors, or error string
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | ||
| post_no | Yes | ||
| file_guid | Yes | ||
| output_path | No |