execute_script_on_device_group
Run a CLI script on a device group within an ADOM using FortiManager. Returns a task ID to track execution progress.
Instructions
Execute a CLI script on a device group.
Args: adom: ADOM name script: Script name to execute group: Device group 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>",
"group": "<group>"
},
"name": "execute_script_on_device_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| group | Yes | ||
| script | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||