get_vm_logs
Retrieve log entries from a VM or container by specifying its name, platform, and device ID. Optionally limit the number of lines returned.
Instructions
Get logs from a specific VM/container
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>",
"platform": "<platform>",
"vm_name": "<vm_name>"
},
"name": "get_vm_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of log lines to retrieve | |
| vm_name | Yes | Name of the VM/container | |
| platform | Yes | VM platform | |
| device_id | Yes | Database ID of the target device |