tb_send_rpc
Send remote procedure call (RPC) commands to ThingsBoard devices by specifying the target device ID, device UUID, method name, and optional parameters.
Instructions
Send RPC command to a ThingsBoard device
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": {
"device_id": "<device_id>",
"tb_device_id": "<tb_device_id>",
"method": "<method>"
},
"name": "tb_send_rpc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | RPC method name | |
| params | No | RPC parameters (optional) | |
| device_id | Yes | ThingsBoard server device ID | |
| tb_device_id | Yes | ThingsBoard device UUID |