env_type
Sends keystrokes to the active window in a running environment. Verify focus with a screenshot first; fork golden images before typing.
Instructions
Type text into the environment's keyboard, as if a person were at it - the keystrokes go wherever the guest's focus happens to be, so check with env_screenshot first. Environments only: to type into a golden image, env_fork it and type into the fork. The environment must be running. Takes effect a moment after the call returns.
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": {
"name": "<name>",
"text": "<text>"
},
"name": "env_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | name of the environment | |
| text | Yes | text to type, as if at the keyboard | |
| press_enter | No | press enter after the text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | ||
| name | Yes |