iterm2_enable_api
Enable the iTerm2 Python API in preferences to allow programmatic control of terminal sessions. Restart iTerm2 after enabling to activate the feature.
Instructions
Enable the iTerm2 Python API in preferences. Note: iTerm2 must be restarted after enabling.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "iterm2_enable_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||