feat: add slowly option for typing one character at a time (#121)

This commit is contained in:
Yury Semikhatsky
2025-04-02 14:36:30 -07:00
committed by GitHub
parent 89627fd23a
commit 2291011dc7
3 changed files with 65 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ export const drag: Tool = {
const typeSchema = z.object({
text: z.string().describe('Text to type into the element'),
submit: z.boolean().describe('Whether to submit entered text (press Enter after)'),
submit: z.boolean().optional().describe('Whether to submit entered text (press Enter after)'),
});
export const type: Tool = {