getDevice
Retrieve details for a specific device by ID, including its configuration and DNS connection information.
Instructions
Gets a device by ID
Returns details of a specific device. Use this endpoint to retrieve device configuration and DNS connection information.
Calls GET /oapi/v1/devices/{device_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>"
},
"name": "getDevice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device ID, as returned by getDevices | |
| X_Account_Id | No | Optional ID of the account to operate on. Defaults to the authenticated user's own account. Use GET /oapi/v1/accounts to list available accounts. |