openwisp_get_device_command
Retrieve details for a previously executed network device command using its device and command IDs.
Instructions
[Category: Devices & Controller] Get details for a previously executed device command. (HTTP GET /api/v1/controller/device/{device_id}/command/{command_id}/)
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_id": "<command_id>"
},
"name": "openwisp_get_device_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device UUID or ID | |
| command_id | Yes | Command UUID or ID |