Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/lib/mcp/tools/computer-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ const computerActionSchema = z.object({
.object({
keys: z
.array(z.string())
.describe('X11 keysym names or combos like "Ctrl+t", "Return".'),
.describe(
'Each item must be one X11 keysym or chord, such as "Return", "Ctrl+t", or "Ctrl+minus". For sequential or repeated key presses, use separate array items; do not combine keys with spaces or commas. Use type_text to enter text.',
),
duration: z.number().int().min(0).optional(),
hold_keys: z.array(z.string()).optional(),
})
Expand Down
Loading