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.
- MCP request method
tools/callSendsend_keys_batchas the tool name, with the arguments below.
Arguments#
-
onError? ("stop" | "continue") #Caller-controlled onError.
-
operations(Array<object>) #Caller-controlled operations.
- maxItems
64
No other arguments are accepted.
Result#
Returns object
No other properties are accepted.
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Send keys batch"
Protocol data#
Use the complete advertised contract for validation and client integration.
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"}