vm_agent_file_read
Read a file from inside a Proxmox VM via the guest agent by providing node, VM ID, and absolute file path.
Instructions
Read a file from inside a VM via the guest agent.
Args: node: The node name. vmid: The VM ID. file: Absolute file path inside the guest.
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": {
"node": "<node>",
"vmid": "<vmid>",
"file": "<file>"
},
"name": "vm_agent_file_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| node | Yes | ||
| vmid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |