MCP 工具

對照 App 審查的要求檢查正在準備的版本,列出阻擋提交的問題,並附上修正它們的工具。

對照 App 審查的要求檢查正在準備的版本:建置版本及其出口合規回答、每種語言的商店資訊文字、截圖、App 資訊、年齡分級、內容版權、App 審查聯絡人,以及 App 隱私權。它會列出所有阻擋提交的問題,每一句都寫明修正它的工具。它不會變更任何內容。appstore_submit_for_review 在送出任何內容之前會執行同樣的檢查。

唯讀 破壞性 冪等
是 否 是

輸入

輸入 類型 必填 預設值 作用
teamId 字串(UUID) yes — 團隊,來自 list_teams。
projectId 字串(UUID) 與 appId 二擇一 — 這個 App 所屬的專案,來自 list_projects:這是指定 App 的一般方式。App 是 App Store Connect 上 bundle ID 與該專案建置的 bundle ID 相同的那一個。兩者都傳送時,會使用 projectId。
appId string 與 projectId 二擇一 — 來自 appstore_list_apps 的 App Store Connect App ID,用於沒有專案建置的 App。
appleTeamId 字串(UUID) no 所有已連結的 Apple 團隊 團隊的其中一個 Apple 團隊,來自 appstore_list_apple_teams。搭配 appId 時,只會在這個 Apple 團隊中尋找該 App。搭配 projectId 時不需要:由專案的 App 決定。
platform 字串:IOS、MAC_OS、TV_OS、VISION_OS no IOS 哪個平台的 App Store 版本。

每個工具對輸入進行的檢查,請參閱 伺服器與登入。

結果

一個 JSON 物件,同時以文字和 structuredContent 傳回。

欄位 說明
ready 沒有阻擋提交的問題時為 true
version 正在準備的版本(欄位同 appstore_app_status),或 null
blocking 提交前必須修正的問題,每項一句
warnings 可能仍需注意的問題,每項一句

blocking 可能包含以下句子:

阻擋提交 何時出現
No version is being prepared. Start one with appstore_prepare_version. 沒有可提交的版本
No build is attached to the version. Pick one with appstore_prepare_version (buildNumber or useLatestBuild). 沒有建置版本
Build number is state, not ready. 建置版本尚未處理完成
The build has no export compliance answer: set it with appstore_distribute_build’s usesNonExemptEncryption, or in the app’s Info.plist (ITSAppUsesNonExemptEncryption). 出口合規
The version has no listing text in any language. 沒有商店資訊
locale: missing fields (appstore_update_store_listing). 某種語言缺少描述、關鍵字、支援網址,或(更新版本時)新功能說明
locale: no 6.9-inch (or 6.5-inch) iPhone screenshots (appstore_upload_screenshots). iOS,主要語言
locale: iPad screenshots need the 13-inch size. iOS:iPad 截圖沒有 13 吋尺寸
locale: no screenshots. 其他平台,主要語言
locale: the app has no name. 某種語言沒有名稱
locale: no privacy policy URL (appstore_update_store_listing). 某種語言沒有隱私權政策網址
No primary category (appstore_update_app_info). 沒有類別
The age rating questionnaire is not finished (questions) (appstore_update_app_info). 年齡分級問題尚未回答
Content rights are not declared (appstore_update_app_info contentRights). 內容版權
App Review needs a contact: first and last name, phone and email (appstore_prepare_version reviewContact). 審查聯絡人資訊不完整
A demo account is marked required but its name or password is missing. 示範帳號資訊不完整
App Privacy is not answered (appstore_update_privacy). 沒有 App 隱私權回答
App Privacy answers are not published (appstore_update_privacy mode applyAndPublish). App 隱私權已儲存但未發佈

另外還有 warnings,它們不會阻擋提交:

警告 何時出現
No iPad screenshots: Apple requires 13-inch iPad screenshots when the app runs on iPad. iOS,沒有 iPad 截圖
Could not check App Privacy: sentence 無法讀取 App 隱私權,例如團隊擁有者的 Apple 登入已失效
Could not confirm the app has a price; a new app needs one set in App Store Connect (Pricing and Availability). 無法讀取價格

只會檢查 App 主要語言的截圖,其他語言會沿用它。

{
  "ready": false,
  "version": {
    "versionId": "00000000-0000-0000-0000-000000000000",
    "version": "1.2.0",
    "state": "PREPARE_FOR_SUBMISSION",
    "releaseType": "AFTER_APPROVAL",
    "scheduledRelease": null,
    "copyright": "2026 Example Inc.",
    "build": {
      "buildId": "00000000-0000-0000-0000-000000000000",
      "buildNumber": "42"
    },
    "phasedRelease": null,
    "createdAt": "2026-11-18T09:00:00Z"
  },
  "blocking": [
    "en-US: missing keywords, support URL (appstore_update_store_listing).",
    "No primary category (appstore_update_app_info)."
  ],
  "warnings": [
    "No iPad screenshots: Apple requires 13-inch iPad screenshots when the app runs on iPad."
  ]
}

錯誤

每個錯誤都會以工具錯誤(isError: true)傳回。斜體 文字代表句中的實際值。所有工具都可能傳回的錯誤,請參閱 伺服器與登入。

訊息 何時出現 處理方式
App Store Connect has no app information for this app. Apple 沒有傳回 App 資訊 在 App Store Connect 中檢查該 App
Pass projectId, or appId from appstore_list_apps. projectId 和 appId 都沒有傳送 傳送其中一個
This Project has not been built for iOS yet, so it has no bundle id to find its app by. Ask the Team’s Agent to build it, or pass appId. 該專案從未建置過 iOS 版本 請專案的 Agent 建置 iOS 版本(send_message),或用 appId 指定 App
This Project has no app on App Store Connect yet. Create one with appstore_create_app (its bundle id is the Project’s), or pass appId. 團隊已連結的 Apple 團隊中,沒有 App 的 bundle ID 與專案相同,或沒有連結任何 Apple 團隊 用 appstore_create_app 建立 App,或用 appId 指定另一個 App
No connected Apple team of this Team has that app. See appstore_list_apps. appId 不是任何已連結 Apple 團隊(或 appleTeamId)中的 App 從 appstore_list_apps 取得 ID
platform must be IOS, MAC_OS, TV_OS or VISION_OS. platform 是其他值 傳送這四個值之一
App Store Connect: Apple’s sentence Apple 拒絕了請求。後面最多附上 Apple 自己的五句說明,Apple 指出相關欄位時會在括號中註明。App Store Connect 中有待接受的 Apple 協議時,也會以這種方式被拒絕 依照 Apple 的說明處理。協議由 Apple Developer 帳號的帳號持有人在 App Store Connect 中接受(商務 › 協議)
App Store Connect answered status. Try again in a moment. Apple 拒絕了,但沒有說明原因 稍後再試

範例

{
  "name": "appstore_check_submission",
  "arguments": {
    "teamId": "00000000-0000-0000-0000-000000000000",
    "projectId": "00000000-0000-0000-0000-000000000000"
  }
}