send_keys_batch
-
Send input to a pane’s program; a shell that receives it runs it with your user’s permissions. Sends up to sixty-four key sequences in order, rechecking before each one which panes synchronize-panes links to its target.
- MCP request method
tools/callSendsend_keys_batchas the tool name, with the arguments below.
Arguments#
-
on_error? ("stop" | "continue") #stop or continue; defaults to stop
-
operations(null | Array<object>) #up to sixty-four ordered pane-input operations
No other arguments are accepted.
Result#
Returns object
No other properties are accepted.
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Send keys in a batch"
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"on_error": {"description": "stop or continue; defaults to stop","enum": ["stop","continue"],"type": "string"},"operations": {"description": "up to sixty-four ordered pane-input operations","items": {"additionalProperties": false,"properties": {"enter": {"type": "boolean"},"keys": {"items": {"type": "string"},"type": ["null","array"]},"literal": {"type": "boolean"},"pane_id": {"type": "string"}},"required": ["pane_id","keys"],"type": "object"},"type": ["null","array"]}},"required": ["operations"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"completed": {"type": "integer"},"failed": {"type": "integer"},"results": {"items": {"additionalProperties": false,"properties": {"error": {"type": "string"},"pane_id": {"type": "string"},"resolved_pane_ids": {"items": {"type": "string"},"type": ["array"]},"sent": {"type": "integer"}},"required": ["pane_id","resolved_pane_ids","sent"],"type": "object"},"type": ["array"]}},"required": ["results","completed"],"type": "object"}