upload_file_to_chat
Send files to Pararam Nexus MCP chats by providing file paths or content, enabling document sharing and message replies within the communication platform.
Instructions
Upload a file to a chat.
Args: chat_id: ID of the chat to upload file to file_path: Absolute path to the file on local filesystem (mutually exclusive with file_content) file_content: Base64-encoded file content (mutually exclusive with file_path) filename: Filename to use when file_content is provided (required if file_content is set) reply_to_message_id: Post number to reply to (optional)
Returns: ToolResponse with UploadFilePayload containing uploaded file details including file ID, name, size, and URL
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | ||
| file_path | No | ||
| file_content | No | ||
| filename | No | ||
| reply_to_message_id | No |