mist_get_device_config_cmd
Retrieve generated CLI configuration commands for a specific device in a Mist site using its site and device IDs.
Instructions
Get generated CLI configuration commands for a device.
Returns the generated CLI configuration for a specific device in a Mist site. The configuration includes the complete device-specific commands needed to configure the device based on its settings and policies.
Note: site_id and device_id are Mist IDs (UUIDs), not names. You can obtain site_id from mist_get_site_events or by listing sites, and device_id from mist_get_inventory.
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": {
"org": "<org>",
"site_id": "<site_id>",
"device_id": "<device_id>"
},
"name": "mist_get_device_config_cmd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | Organization name (must be configured in .env). | |
| sort | No | Sort order for the configuration output. Options: "name", "type", "mac". | |
| site_id | Yes | Mist site ID (UUID) - must be a valid Mist site ID. | |
| device_id | Yes | Mist device ID (UUID) - must be a valid device ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||