execute_script_on_package
Execute a CLI script on a policy package or ADOM database to modify configuration, returning a task ID for monitoring.
Instructions
Execute a CLI script against a policy package or ADOM database.
The script must have target=adom_database. This modifies the package/ADOM DB, not a live device.
Args: adom: ADOM name script: Script name to execute package: Policy package 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>",
"package": "<package>"
},
"name": "execute_script_on_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| script | Yes | ||
| package | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||