Unsubscribe Client From Topic
emqx_client_unsubscribeRemove a client's subscription to a specific topic, immediately stopping that device from receiving further messages for it.
Instructions
[DESTRUCTIVE] Remove a subscription from a client on its behalf.
The device stops receiving that topic immediately and has no way to tell why.
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": {
"clientid": "<clientid>",
"topic": "<topic>"
},
"name": "emqx_client_unsubscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Exact topic filter to remove. | |
| clientid | Yes | Client id to act for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||