execute_script_on_device
Execute CLI scripts on a specific remote device and monitor progress with returned task ID.
Instructions
Execute a CLI script on a specific device.
The script must have target=remote_device to run directly on the device. Script execution creates a task that should be monitored for completion.
IMPORTANT: Keep the session alive while script executes on remote devices.
Args: adom: ADOM name script: Script name to execute device: Target device name
Returns: Task ID for monitoring execution progress
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": {
"adom": "<adom>",
"script": "<script>",
"device": "<device>"
},
"name": "execute_script_on_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| device | Yes | ||
| script | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||