update_dm_message
Update the body of a direct-message message in Huly. Specify the DM by ID or participant name, the message ID, and the new body text.
Instructions
Update a direct-message message. The dm argument accepts either the DM _id or a participant display name; a name resolves only to a one-to-one DM with the authenticated account. Only the body can be modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dm | Yes | a string that will be trimmed | |
| messageId | Yes | a string that will be trimmed | |
| body | Yes | a string that will be trimmed |
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. |