execute-command
Run commands in designated iTerm2 terminals by specifying the terminal ID and command, enabling precise control and automation of terminal operations.
Instructions
Execute a command in a specific terminal
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Command to execute | |
terminalId | Yes | ID of the terminal to execute command in |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"command": {
"description": "Command to execute",
"type": "string"
},
"terminalId": {
"description": "ID of the terminal to execute command in",
"type": "string"
}
},
"required": [
"terminalId",
"command"
],
"type": "object"
}