xmpp_set_chat_state
Publish chat state (active, composing, paused, inactive, gone) to the allowlisted JID. Pass request_id when thread preservation is needed.
Instructions
Publish an XEP-0085 chat state to the single allowlisted JID.
state must be active, composing, paused, inactive, or gone. The recipient cannot be overridden. Pass request_id when the peer preserves XMPP 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": {
"state": "<state>"
},
"name": "xmpp_set_chat_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| request_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |