clear_proposed_command
Clears the staged (unexecuted) command line in an iTerm2 session, equivalent to pressing Ctrl-U, to discard a proposed command before execution.
Instructions
Clear the staged (unexecuted) command line in a session (Ctrl-U).
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": "clear_proposed_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session ID from list_iterm_sessions. Optional: defaults to the last session used. |