get_ci_build_action
Retrieve detailed information about a specific CI build action from App Store Connect, including status, progress, test results, and issues for iOS/macOS development workflows.
Instructions
Get detailed information about a specific build action
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildActionId | Yes | The ID of the build action | |
| include | No | Related resources to include in the response | |
| fields | No |
Implementation Reference
- src/handlers/workflows.ts:123-141 (handler)The main handler function `getBuildAction` in WorkflowHandlers class that executes the tool logic by calling the App Store Connect API to retrieve details for a specific CI build action.async getBuildAction(args: { buildActionId: string; fields?: { ciBuildActions?: CiBuildActionFieldOptions[]; }; include?: CiBuildActionIncludeOptions[]; }): Promise<{ data: any }> { const { buildActionId, fields, include } = args; const params: Record<string, any> = {}; if (include?.length) { params.include = include.join(','); } Object.assign(params, buildFieldParams(fields)); return this.client.get<{ data: any }>(`/ciBuildActions/${buildActionId}`, params); }
- src/index.ts:1047-1081 (schema)The input schema definition for the 'get_ci_build_action' tool, specifying parameters like buildActionId, include, and fields.{ name: "get_ci_build_action", description: "Get detailed information about a specific build action", inputSchema: { type: "object", properties: { buildActionId: { type: "string", description: "The ID of the build action" }, include: { type: "array", items: { type: "string", enum: ["buildRun", "issues", "testResults"] }, description: "Related resources to include in the response" }, fields: { type: "object", properties: { ciBuildActions: { type: "array", items: { type: "string", enum: ["name", "actionType", "startedDate", "finishedDate", "issueCounts", "executionProgress", "completionStatus"] }, description: "Fields to include for the build action" } } } }, required: ["buildActionId"] } },
- src/index.ts:1436-1438 (registration)The tool dispatch/registration in the MCP callTool request handler switch statement, which maps the tool name to the workflowHandlers.getBuildAction method.case "get_ci_build_action": const buildActionData = await this.workflowHandlers.getBuildAction(args as any); return formatResponse(buildActionData);