Pause or resume the email agent on a thread
set_thread_agentPause (paused true) or resume (paused false) the hosted email agent on one thread of the identity, for example while a person handles it; the agent does not answer that thread until it is resumed. Allowed in any mode. The thread must exist on the identity (thread ids from list_threads).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"identity_id": "<identity_id>",
"thread_id": "<thread_id>",
"paused": "<paused>"
},
"name": "set_thread_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paused | Yes | true pauses the agent on this thread; false resumes it. | |
| thread_id | Yes | Thread id from list_threads. | |
| identity_id | Yes | Identity id from list_identities. |