update-object
Modify a Twist thread's title or body, a comment's body, or a message's body by specifying the target type and ID. Update thread title without providing body content.
Instructions
Update an existing Twist object. targetType: "thread" updates a thread's title and/or body; "comment" updates a thread comment's body; "message" updates a direct/group conversation message's body. Always pass targetId. content is required for "comment" and "message"; for "thread" it is optional as long as title is provided (i.e. a thread can be renamed without re-sending the body). title is only valid when targetType is "thread".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | The new title. Only valid when targetType is "thread". | |
| content | No | The new content/body. Required for comments and messages; for threads, optional if title is provided. | |
| targetId | Yes | The ID of the thread, comment, or conversation message to update. | |
| targetType | Yes | The type of object to update: thread, comment, or message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| title | No | ||
| content | Yes | ||
| success | Yes | ||
| threadId | No | ||
| channelId | No | ||
| commentId | No | ||
| messageId | No | ||
| threadUrl | No | ||
| commentUrl | No | ||
| lastEdited | No | ||
| messageUrl | No | ||
| workspaceId | Yes | ||
| conversationId | No |