Skip to content

Commit c3d3db3

Browse files
Fix: pick platform first
Co-authored-by: SrinivasanTarget <[email protected]>
1 parent 9730bf0 commit c3d3db3

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/tools/create-session.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ export default function createSession(server: any): void {
3636
capabilities: z
3737
.object({})
3838
.optional()
39-
.describe(
40-
'Optional custom capabilities for the session (W3C format).'
41-
),
39+
.describe('Optional custom capabilities for the session (W3C format).'),
4240
}),
4341
annotations: {
4442
readOnlyHint: false,

src/tools/select-platform.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ export default function selectPlatform(server: any): void {
77
server.addTool({
88
name: 'select_platform',
99
description:
10-
`REQUIRED: First select the mobile platform (Android or iOS) you want to work with before creating a session,
11-
strictly and do not assume anything.
12-
This is mandatory and you must select one before proceeding to use the create_session tool.`,
10+
'REQUIRED: First select the mobile platform (Android or iOS) you want to work with before creating a session, strictly and do not assume anything. This is mandatory and you must select one before proceeding to use the create_session tool.',
1311
parameters: z.object({
1412
platform: z
1513
.enum(['ios', 'android'])

0 commit comments

Comments
 (0)