get_chat_message_attachment
Retrieve a file attached directly to a Huly channel message, direct message, or thread reply using the attachment ID. Specify the target message and attachment ID to get the file.
Instructions
Get one file attached directly to a Huly channel message, direct-message message, or thread reply. The attachmentId must belong to the resolved target.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Chat attachment target. Use channel_message for a channel message, dm_message for a direct-message message, or thread_reply for a thread reply. | |
| attachmentId | Yes | Attachment ID. Must belong directly to the resolved chat message target. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent. | |
| warnings | No | Optional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload. |