console_send
Types text into a running Proxmox guest console and presses keys such as Enter, Tab, arrows, or Ctrl+Alt+Delete, with ordered steps for mixed input.
Instructions
Type text into a running guest's console and/or press keys: enter, tab, escape, backspace, delete, arrows (up, down, left, right), home, end, pageup, pagedown, f1–f12, and combinations such as ctrl+alt+delete or ctrl+c. Text is typed as on a US keyboard. With text and keys, the text is typed first and the keys pressed after it (type a command, then enter). For another order — keys first, or several of each — give steps instead, done in their order: for example [{"keys": ["ctrl+l"]}, {"text": "example.org"}, {"keys": ["enter"]}].
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": {
"host": "<host>",
"vmid": "<vmid>",
"reason": "<reason>"
},
"name": "console_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | The host's id, from list_hosts. | |
| keys | No | ||
| text | No | ||
| vmid | Yes | The guest's ID (VMID). | |
| steps | No | In order; each either {"text": "…"} or {"keys": ["…"]}. Instead of text and keys. | |
| reason | Yes | Why you are doing this, in a sentence. The user sees it in the approval window and in the log. |