update_chat_message_attachment
Update the description or pinned status of a file attached to a channel message, direct message, or thread reply.
Instructions
Update description and/or pinned state for a 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. | |
| description | No | Optional attachment description. Use null on update to clear it. | |
| pinned | No | Whether the attachment should be pinned. |
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. |