Skip to content

Commit c30fe1b

Browse files
Update docs for session_set_defaults and tap tools
Co-authored-by: web <web@cameroncooke.com>
1 parent c498346 commit c30fe1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/TOOLS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ XcodeBuildMCP provides 64 tools organized into 13 workflow groups for comprehens
7070
**Purpose**: Manage session defaults for projectPath/workspacePath, scheme, configuration, simulatorName/simulatorId, deviceId, useLatestOS and arch. These defaults are required by many tools and must be set before attempting to call tools that would depend on these values. (3 tools)
7171

7272
- `session_clear_defaults` - Clear selected or all session defaults.
73-
- `session_set_defaults` - Set the session defaults needed by many tools. Most tools require one or more session defaults to be set before they can be used. Agents should set the relevant defaults at the beginning of a session.
73+
- `session_set_defaults` - Set the session defaults needed by many tools. Most tools require one or more session defaults to be set before they can be used. Agents should set all relevant defaults up front in a single call (e.g., project/workspace, scheme, simulator or device ID, useLatestOS) to avoid iterative prompts; only set the keys your workflow needs.
7474
- `session_show_defaults` - Show current session defaults.
7575
### Simulator Management (`simulator-management`)
7676
**Purpose**: Tools for managing simulators from booting, opening simulators, listing simulators, stopping simulators, erasing simulator content and settings, and setting simulator environment options like location, network, statusbar and appearance. (5 tools)
@@ -104,7 +104,7 @@ XcodeBuildMCP provides 64 tools organized into 13 workflow groups for comprehens
104104
- `long_press` - Long press at specific coordinates for given duration (ms). Use describe_ui for precise coordinates (don't guess from screenshots).
105105
- `screenshot` - Captures screenshot for visual verification. For UI coordinates, use describe_ui instead (don't determine coordinates from screenshots).
106106
- `swipe` - Swipe from one point to another. Use describe_ui for precise coordinates (don't guess from screenshots). Supports configurable timing.
107-
- `tap` - Tap at specific coordinates. Use describe_ui to get precise element coordinates (don't guess from screenshots). Supports optional timing delays.
107+
- `tap` - Tap at specific coordinates or target elements by accessibility id or label. Use describe_ui to get precise element coordinates prior to using x/y parameters (don't guess from screenshots). Supports optional timing delays.
108108
- `touch` - Perform touch down/up events at specific coordinates. Use describe_ui for precise coordinates (don't guess from screenshots).
109109
- `type_text` - Type text (supports US keyboard characters). Use describe_ui to find text field, tap to focus, then type.
110110

@@ -115,4 +115,4 @@ XcodeBuildMCP provides 64 tools organized into 13 workflow groups for comprehens
115115

116116
---
117117

118-
*This documentation is automatically generated by `scripts/update-tools-docs.ts` using static analysis. Last updated: 2025-11-20*
118+
*This documentation is automatically generated by `scripts/update-tools-docs.ts` using static analysis. Last updated: 2025-12-20*

0 commit comments

Comments
 (0)