Send keys in sandbox
sandbox_typeSends text or key chords to the focused window or targets a window by title or PID, enabling typed input and keyboard shortcuts for UI automation.
Instructions
Type text or send key chords to the focused window (or a window found by title/pid, which is focused first). With literal=false, uses SendKeys syntax: {ENTER}, {TAB}, ^s (Ctrl+S), %{F4} (Alt+F4).
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": {
"keys": "<keys>"
},
"name": "sandbox_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| keys | Yes | ||
| literal | No | Treat keys as plain text (default true). | |
| windowTitle | No |