Commit f046048154b7

Vincent Demeester <vincent@sbr.pm>
2026-02-10 18:49:19
fix: clarify send_text escape sequences in kitty tool
Documented how to send Enter, Tab, and control characters via JSON string escapes in the tool parameter description.
1 parent 175ec94
Changed files (1)
dots
pi
agent
dots/pi/agent/extensions/kitty-reference.ts
@@ -738,7 +738,7 @@ Use this to:
 				description: "Target tab ID. For: close_tab, set_title (tab), focus (focuses tab first)",
 			})),
 			text: Type.Optional(Type.String({
-				description: "Text to send (send_text) or title to set (set_title)",
+				description: "Text to send (send_text) or title to set (set_title). For send_text: include a literal newline for Enter (e.g. 'ls -la\\n' sends the command and presses Enter). Control characters work too: \\u0003 for Ctrl+C, \\u0004 for Ctrl+D, \\t for Tab.",
 			})),
 			extent: Type.Optional(StringEnum([
 				"screen",