Conversation programs: update, delete
The Conversation Verbs update, delete as MCP do programs, with inputs, result, refusals and an example.
Reference for Conversation, one group of Conversation programs.
Conversation.update
Changes the given properties of a Conversation. Verb page.
do: return await $.Conversation.update(input)Emits Conversation.updated.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Conversation. |
subject | string | What the Thread is about. | |
answeredAt | datetime | When a Worker last answered. | |
resolution | string | How it was resolved: the Customer said so, or 72 hours passed after an answer with no reply. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
conversation | Conversation | required | The Conversation. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
{
"name": "do",
"arguments": {
"code": "return await $.Conversation.update({ id: 'conversation_0vg6SDjB6k', answeredAt: '2026-10-22T12: 00: 00Z' })"
}
}Conversation.delete
Deletes a Conversation: a soft delete that keeps its history, undone by Thing.restore. Verb page.
do: return await $.Conversation.delete(input)Emits Conversation.deleted.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Conversation. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
conversation | Conversation | required | The Conversation. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
{
"name": "do",
"arguments": {
"code": "return await $.Conversation.delete({ id: 'conversation_0vg6SDjB6k' })"
}
}