add_tester_to_group
Add a new tester to a beta group in App Store Connect by providing their email, first name, last name, and group ID to enable beta testing for iOS or macOS apps.
Instructions
Add a new tester to a beta group
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | The ID of the beta group | |
| Yes | Email address of the tester | ||
| firstName | Yes | First name of the tester | |
| lastName | Yes | Last name of the tester |
Implementation Reference
- src/handlers/beta.ts:43-73 (handler)The main handler function that implements the add_tester_to_group tool. It validates input, constructs the API request body for creating a beta tester with association to the specified beta group, and calls the AppStoreConnectClient POST method to /betaTesters endpoint.async addTesterToGroup(args: { groupId: string; email: string; firstName: string; lastName: string; }): Promise<ListBetaTestersResponse> { const { groupId, email, firstName, lastName } = args; validateRequired(args, ['groupId', 'email', 'firstName', 'lastName']); const requestBody: AddTesterRequest = { data: { type: "betaTesters", attributes: { email, firstName, lastName }, relationships: { betaGroups: { data: [{ id: groupId, type: "betaGroups" }] } } } }; return this.client.post<ListBetaTestersResponse>('/betaTesters', requestBody); }
- src/index.ts:170-194 (schema)The tool schema definition including name, description, and input schema validation for the add_tester_to_group tool.name: "add_tester_to_group", description: "Add a new tester to a beta group", inputSchema: { type: "object", properties: { groupId: { type: "string", description: "The ID of the beta group" }, email: { type: "string", description: "Email address of the tester" }, firstName: { type: "string", description: "First name of the tester" }, lastName: { type: "string", description: "Last name of the tester" } }, required: ["groupId", "email", "firstName", "lastName"] } },
- src/index.ts:1328-1329 (registration)The registration and dispatch logic in the main server switch statement that maps the tool name to the BetaHandlers.addTesterToGroup method call.case "add_tester_to_group": return { toolResult: await this.betaHandlers.addTesterToGroup(args as any) };