send_keys_and_wait
-
Register output before sending explicit keys, then wait for literal text in output observed since registration. No Enter is added. Concurrent output may also match; this is not command-exit proof.
- MCP request method
tools/callSendsend_keys_and_waitas the tool name, with the arguments below.- Tool selection
- Opt in with
--tool send_keys_and_wait.
Arguments#
- additionalProperties
false
-
keys: Array<string> Required #
- minItems
1- maxItems
64
-
- Default
false
-
Explicit captured target; omission requires a configured caller pane
- additionalProperties
false
-
generation: string Required #
Opaque generation from list_panes
- maxLength
128
-
Valid UTF-8; at most 64 bytes
- maxLength
64- pattern
"^%(0|[1-9][0-9]*)$"
-
Valid UTF-8; at most 1024 bytes
- minLength
1- maxLength
1024
Result#
Matches one or more variants.
-
- additionalProperties
false
-
continuity: "reset" Required #
-
generationGuarantee: string Required #
-
- additionalProperties
false
-
generation: string Required #
Opaque generation from list_panes
- maxLength
128
-
Valid UTF-8; at most 64 bytes
- maxLength
64- pattern
"^%(0|[1-9][0-9]*)$"
-
terminalContent: "data" Required #
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalse
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"keys": {"items": {"description": "Valid UTF-8; at most 1024 bytes","maxLength": 1024,"type": "string"},"maxItems": 64,"minItems": 1,"type": "array"},"literal": {"default": false,"type": "boolean"},"target": {"additionalProperties": false,"description": "Explicit captured target; omission requires a configured caller pane","properties": {"generation": {"description": "Opaque generation from list_panes","maxLength": 128,"type": "string"},"paneId": {"description": "Valid UTF-8; at most 64 bytes","maxLength": 64,"pattern": "^%(0|[1-9][0-9]*)$","type": "string"}},"required": ["paneId","generation"],"type": "object"},"text": {"description": "Valid UTF-8; at most 1024 bytes","maxLength": 1024,"minLength": 1,"type": "string"}},"required": ["target","keys","text"],"type": "object"}Output schema
{"anyOf": [{"additionalProperties": false,"properties": {"continuity": {"const": "reset"},"evidence": {"const": "literal_text"},"generationGuarantee": {"type": "string"},"keysSent": {"type": "boolean"},"matched": {"type": "boolean"},"source": {"enum": ["baseline","output"]},"target": {"additionalProperties": false,"properties": {"generation": {"description": "Opaque generation from list_panes","maxLength": 128,"type": "string"},"paneId": {"description": "Valid UTF-8; at most 64 bytes","maxLength": 64,"pattern": "^%(0|[1-9][0-9]*)$","type": "string"}},"required": ["paneId","generation"],"type": "object"},"terminalContent": {"const": "data"},"text": {"type": "string"}},"required": ["matched","source","terminalContent","evidence","continuity","text","generationGuarantee","keysSent","target"],"type": "object"},{"properties": {"error": {"additionalProperties": false,"properties": {"code": {"type": "string"},"effects": {"enum": ["none","possible"]},"message": {"type": "string"},"retryable": {"type": "boolean"}},"required": ["code","message","effects","retryable"],"type": "object"}},"required": ["error"],"type": "object"}],"type": "object"}