guest_read_file
Reads an absolute file path inside a Hyper-V guest as base64 with SHA-256, returning bounded chunks so large files do not inflate model context.
Instructions
Read an absolute guest file path as base64, with SHA-256. Default limit 64 KiB; maximum 8 MiB. For large files, request bounded chunks through the lab APIs rather than inflating model context.
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": {
"vm_name": "<vm_name>",
"guest_path": "<guest_path>"
},
"name": "guest_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_name | Yes | ||
| max_bytes | No | ||
| guest_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||