send_keys_batch
Send input to a pane’s program; a shell that receives it runs it with your user’s permissions. Send an ordered bounded batch with a fresh check for every row.
All Swift tools · JSON · Source
Arguments
onErroroptional · string- Caller-controlled onError.
operationsrequired · array- Caller-controlled operations.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "onError": { "description": "Caller-controlled onError.", "enum": [ "stop", "continue" ], "type": "string" }, "operations": { "description": "Caller-controlled operations.", "items": { "additionalProperties": false, "properties": { "enter": { "type": "boolean" }, "force": { "type": "boolean" }, "keys": { "items": { "type": "string" }, "type": "array" }, "literal": { "type": "boolean" }, "paneId": { "type": "string" } }, "required": [ "paneId", "keys" ], "type": "object" }, "maxItems": 64, "type": "array" } }, "required": [ "operations" ], "type": "object"}Output schema
{ "additionalProperties": false, "properties": { "completed": { "type": "integer" }, "failures": { "items": { "additionalProperties": false, "properties": { "index": { "type": "integer" }, "reason": { "type": "string" } }, "required": [ "index", "reason" ], "type": "object" }, "type": "array" }, "targets": { "items": { "additionalProperties": false, "properties": { "index": { "type": "integer" }, "resolvedPaneIds": { "items": { "type": "string" }, "type": "array" } }, "required": [ "index", "resolvedPaneIds" ], "type": "object" }, "type": "array" } }, "required": [ "completed", "failures", "targets" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Send keys batch"}