send_control_character
Send keyboard control characters to iTerm2 sessions, such as Ctrl-C to interrupt processes. Specify a letter (A-Z, ESC, or ]) to emulate the corresponding control key.
Instructions
Send a control character to an iTerm2 session.
Supported values: any single letter A-Z (Ctrl-A through Ctrl-Z),
ESC/ESCAPE for Escape (0x1B), and ] for the telnet escape
(0x1D).
:param letter: The control key name; see above for accepted forms. :param session_id: Target session UUID. Defaults to the active session.
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": {
"letter": "<letter>"
},
"name": "send_control_character"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| letter | Yes | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |