cluster_send_command
Send an MI command to a specific node in an OpenSIPS cluster to perform remote management or diagnostics.
Instructions
Send an MI command to a specific node in the cluster.
Parameters
cluster_id:
The cluster ID.
node_id:
The target node ID within the cluster.
mi_cmd:
The MI command to execute on the remote node. Must be registered in
:data:MI_COMMANDS; the per-command permission is enforced so this
tool cannot be used to bypass mi.write controls.
mi_params:
Optional parameters for the MI command (JSON string).
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": {
"cluster_id": "<cluster_id>",
"node_id": "<node_id>",
"mi_cmd": "<mi_cmd>"
},
"name": "cluster_send_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | ||
| node_id | Yes | ||
| mi_cmd | Yes | ||
| mi_params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||