Get device context
get_device_contextEverything about one device for a support ticket in one call: the agents matching a hostname (the full name or, when no agent has it, the first DNS label cut to 15 characters) or an agent_id, each with its latest health sample, its active alerts (newest 10) and dashboard links that open Live Session or remote control after a technician signs in and confirms. matchedBy says how the device was found; "short_name" can be a different computer whose name starts the same way, and "none" means no agent matched. Give hostname or agent_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | An agentId from list_agents. Takes precedence over hostname. | |
| hostname | No | The device name as the PSA or ticket holds it, for example APP01 or app01.corp.example.com. |