ghostty_keybind
Bind actions to key combinations in Ghostty terminal or remove existing keybindings.
Instructions
Manage Ghostty keybindings
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": {
"action": "<action>",
"key": "<key>"
},
"name": "ghostty_keybind"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key combination (e.g., "cmd+c", "ctrl+shift+t") | |
| action | Yes | Action to bind (e.g., "copy", "paste", "new_tab") | |
| remove | No | If true, removes the keybinding |