execute_script_on_device
Automate device configuration by running a CLI script on a managed device, with task ID for progress tracking.
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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| script | Yes | ||
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||