run_script
Executes a script or built-in action on a specified device to automate remediation, configuration, or maintenance tasks.
Instructions
Run a script or built-in action on a 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>",
"script_id": "<script_id>"
},
"name": "run_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | The device ID | |
| script_id | Yes | Script ID or built-in action name | |
| parameters | No | Script parameters |