get_device
Retrieve complete device details including hardware, OS, last user, group, agent status, and macmon NAC status using a GUID or hostname.
Instructions
Ruft alle Details zu einem einzelnen Gerät ab.
Akzeptiert sowohl eine GUID als auch einen Hostnamen (z.B. 'PCSWIT1984').
Enthält automatisch macmon NAC-Infos (VLAN, Sperrstatus), falls macmon konfiguriert ist.
Args:
device_id: GUID des Geräts (aus list_devices) ODER Hostname (z.B. 'PCSWIT1984').
Returns:
Vollständiges Geräte-Objekt mit allen Feldern inkl. Hardware,
OS-Version, letzter Benutzer, Gruppe, Agent-Status und macmon NAC-Status.
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>"
},
"name": "get_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes |