fortigate_execute_cli
Execute FortiOS CLI commands on a Fortigate device via SSH for configuration and troubleshooting.
Instructions
Execute a FortiOS CLI command via SSH
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>",
"command": "<command>"
},
"name": "fortigate_execute_cli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | FortiOS CLI command | |
| device_id | Yes | Fortigate device ID |