You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/schemas.ts
+16-10Lines changed: 16 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -67,25 +67,31 @@ export type GetScriptingTipsInput = z.infer<typeof GetScriptingTipsInputSchema>;
67
67
68
68
// AX Query Input Schema
69
69
exportconstAXQueryInputSchema=z.object({
70
-
cmd: z.enum(['query','perform']),
71
-
multi: z.boolean().optional(),
70
+
command: z.enum(['query','perform']).describe('The operation to perform. (Formerly cmd)'),
71
+
return_all_matches: z.boolean().optional().describe('When true, returns all matching elements rather than just the first match. Default is false. (Formerly multi)'),
72
72
locator: z.object({
73
73
app: z.string().describe('Bundle ID or display name of the application to query'),
74
74
role: z.string().describe('Accessibility role to match, e.g., "AXButton", "AXStaticText"'),
75
75
match: z.record(z.string()).describe('Attributes to match for the element'),
76
-
pathHint: z.array(z.string()).optional().describe('Optional path to navigate within the application hierarchy, e.g., ["window[1]", "toolbar[1]"]'),
76
+
navigation_path_hint: z.array(z.string()).optional().describe('Optional path to navigate within the application hierarchy, e.g., ["window[1]", "toolbar[1]"]. (Formerly pathHint)'),
77
77
}),
78
-
attributes: z.array(z.string()).optional().describe('Attributes to query for matched elements. If not provided, common attributes will be included'),
79
-
requireAction: z.string().optional().describe('Filter elements to only those supporting this action, e.g., "AXPress"'),
80
-
action: z.string().optional().describe('Only used with cmd: "perform" - The action to perform on the matched element'),
78
+
attributes_to_query: z.array(z.string()).optional().describe('Attributes to query for matched elements. If not provided, common attributes will be included. (Formerly attributes)'),
79
+
required_action_name: z.string().optional().describe('Filter elements to only those supporting this action, e.g., "AXPress". (Formerly requireAction)'),
80
+
action_to_perform: z.string().optional().describe('Only used with command: "perform" - The action to perform on the matched element. (Formerly action)'),
0 commit comments