{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.letsship.ai",
    "site": "letsship.ai",
    "addresses": [
      {
        "address": "104.26.11.171",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "104.26.10.171",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "172.67.71.188",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:20::681a:aab",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:20::ac43:47bc",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:20::681a:bab",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.26.11.171",
          "104.26.10.171",
          "172.67.71.188",
          "2606:4700:20::681a:aab",
          "2606:4700:20::ac43:47bc",
          "2606:4700:20::681a:bab"
        ],
        "first_seen": "2026-11-24T05:03:02.799Z",
        "last_seen": "2026-11-24T05:03:02.799Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.26.10.171",
          "104.26.11.171",
          "172.67.71.188",
          "2606:4700:20::681a:bab",
          "2606:4700:20::681a:aab",
          "2606:4700:20::ac43:47bc"
        ],
        "first_seen": "2026-11-23T05:02:02.402Z",
        "last_seen": "2026-11-23T05:02:02.402Z",
        "checks": 1
      },
      {
        "addresses": [
          "172.67.71.188",
          "104.26.11.171",
          "104.26.10.171",
          "2606:4700:20::681a:bab",
          "2606:4700:20::681a:aab",
          "2606:4700:20::ac43:47bc"
        ],
        "first_seen": "2026-11-22T05:02:01.489Z",
        "last_seen": "2026-11-22T05:02:01.489Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "ai.letsship/ship",
      "version": "0.43.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "ai.letsship",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/letsship/mcp",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "1392",
    "server_name": "ai.letsship/ship",
    "url": "https://mcp.letsship.ai/mcp",
    "host": "mcp.letsship.ai",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T05:03:02.799Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "d21597e4fc46b7014fd3bf6257de2a5e8f13d9c4da0ce44be83aa55bd1db7f3a",
    "first_listed_at": "2026-11-21T05:01:01.589Z",
    "created_at": "2026-11-21T04:35:16.155Z",
    "resolved_addresses": [
      "104.26.11.171",
      "104.26.10.171",
      "172.67.71.188",
      "2606:4700:20::681a:aab",
      "2606:4700:20::ac43:47bc",
      "2606:4700:20::681a:bab"
    ]
  },
  "server": {
    "name": "ai.letsship/ship",
    "title": "SHIP",
    "description": "Assign Linear, Jira or GitHub issues to an AI coding agent team that plans, builds, reviews, tests.",
    "version": "0.24.0",
    "registry_status": "active",
    "repository_url": "https://github.com/letsship/mcp",
    "website_url": "https://letsship.ai/docs/mcp",
    "published_at": "2026-10-12T13:24:10.416Z",
    "updated_at": "2026-10-12T13:24:10.416Z",
    "first_seen": "2026-11-21T04:35:15.598Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "runs-agents",
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T14:52:06.948Z"
  },
  "operator": {
    "key": "letsship.ai",
    "name": "letsship.ai",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 488,
    "first_check_in_window": "2026-11-21T05:01:01.589Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "d21597e4fc46b7014fd3bf6257de2a5e8f13d9c4da0ce44be83aa55bd1db7f3a",
    "tools": 78,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T05:01:01.888Z",
    "tool_names": [
      "healthz",
      "whoami",
      "get_setup_progress",
      "get_billing",
      "check_model_credit",
      "list_billing_ledger",
      "list_credit_offers",
      "start_credit_checkout",
      "update_team_subscription",
      "request_more_credits",
      "get_notices",
      "dismiss_notice",
      "report_setup_blocker",
      "mark_setup_step",
      "list_projects",
      "get_project",
      "update_project",
      "transfer_project_repository",
      "get_project_transfer",
      "cancel_project_transfer",
      "start_mission",
      "create_mission",
      "set_agents_override",
      "get_agents_override",
      "send_mission_instruction",
      "clear_agents_override",
      "list_missions",
      "get_mission",
      "pause_mission",
      "resume_mission",
      "stop_mission",
      "approve_mission_ceiling",
      "answer_qa_checkpoint",
      "merge_mission",
      "decline_mission",
      "set_mission_auto_merge",
      "archive_mission",
      "unarchive_mission",
      "set_mission_disposition",
      "list_scheduled_tasks",
      "list_scheduled_task_templates",
      "get_scheduled_task",
      "create_scheduled_task",
      "update_scheduled_task",
      "run_scheduled_task",
      "list_scheduled_task_runs",
      "delete_scheduled_task",
      "list_mcp_servers",
      "list_mcp_bindings",
      "set_mcp_config_path",
      "bind_mcp_server",
      "unbind_mcp_server",
      "refresh_mcp_server_tools",
      "start_mcp_server_oauth",
      "list_agent_runs",
      "get_agent_run",
      "get_agent_run_logs",
      "watch_agent_run",
      "stop_agent_run",
      "list_sandbox_templates",
      "get_sandbox_capacity",
      "list_sandbox_starters",
      "list_sandbox_template_versions",
      "get_sandbox_build_log",
      "save_sandbox_template",
      "activate_sandbox_template_version",
      "build_sandbox_template",
      "list_sandbox_registries",
      "save_sandbox_registry",
      "delete_sandbox_template",
      "delete_sandbox_registry",
      "list_environments",
      "get_environment",
      "destroy_environment",
      "list_artifacts",
      "get_artifact",
      "inspect_mission",
      "list_orgs"
    ],
    "declared": {
      "tools": [
        {
          "name": "healthz",
          "title": "API health probe",
          "description": "Returns the upstream API status, environment, and version.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "API health probe",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "whoami",
          "title": "Identify the calling principal",
          "description": "Returns the caller's identity, org, role, role-derived RBAC capabilities, and token scopes. Use this to check whether the current token may perform an action (e.g. config:write) before attempting it.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "principalType",
              "userId",
              "orgId",
              "role",
              "capabilities",
              "scopes",
              "projectId"
            ],
            "properties": {
              "role": {
                "enum": [
                  "owner",
                  "admin",
                  "member",
                  null
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              "orgId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "scopes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "userId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "projectId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The project this credential is bound to, or null when it is org-wide. A bound token can read and act only on that project, and on nothing org-wide - so a caller can see the boundary it works within rather than discovering it through a 404."
              },
              "capabilities": {
                "type": "array",
                "items": {
                  "enum": [
                    "pipeline:control",
                    "config:write",
                    "secrets:reveal",
                    "org:admin",
                    "billing:manage",
                    "site-data:read",
                    "site-data:write"
                  ],
                  "type": "string"
                }
              },
              "principalType": {
                "enum": [
                  "cookie",
                  "user",
                  "service",
                  "system",
                  "agent"
                ],
                "type": "string",
                "description": "agent: a self-registered agent nobody has claimed yet. It has no user, org, role or scopes, and reaches only /me and /scopes until a person claims it."
              }
            }
          },
          "annotations": {
            "title": "Identify the calling principal",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_setup_progress",
          "title": "Get setup progress",
          "description": "Read what the workspace has set up with SHIP so far, as the console's setup checklist shows it: up to 13 milestones in three groups, taken in order (get started, make it yours, make it autonomous). `activeGroup` names the group to work on now, and each group carries its own count. Each milestone says whether it is reached and, when a console page takes it and the caller's role can, the page that does it. `next` names the first milestone not reached yet. Use it to suggest the next step to a person. If they say they will not finish setup, ask why and record it with report_setup_blocker.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "orgId",
              "reachedCount",
              "totalCount",
              "complete",
              "next",
              "activeGroup",
              "activeGroupProgress",
              "groups",
              "firstMission",
              "guides"
            ],
            "properties": {
              "next": {
                "enum": [
                  "workspace",
                  "first_mission",
                  "first_review",
                  "first_merge",
                  "preview_deployment",
                  "agent_instructions",
                  "mcp_servers",
                  "custom_sandbox",
                  "teammate",
                  "steer_mission",
                  "checkpoints",
                  "scheduled_task",
                  "agent_to_pr",
                  null
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              "orgId": {
                "type": "string"
              },
              "groups": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "title",
                    "reachedCount",
                    "totalCount",
                    "complete",
                    "milestones"
                  ],
                  "properties": {
                    "id": {
                      "allOf": [
                        {
                          "enum": [
                            "first_mission",
                            "team",
                            "explore",
                            null
                          ],
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "complete": {
                      "type": "boolean"
                    },
                    "milestones": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "title",
                          "description",
                          "reached",
                          "status",
                          "action",
                          "docsUrl"
                        ],
                        "properties": {
                          "id": {
                            "allOf": [
                              {
                                "enum": [
                                  "workspace",
                                  "first_mission",
                                  "first_review",
                                  "first_merge",
                                  "preview_deployment",
                                  "agent_instructions",
                                  "mcp_servers",
                                  "custom_sandbox",
                                  "teammate",
                                  "steer_mission",
                                  "checkpoints",
                                  "scheduled_task",
                                  "agent_to_pr",
                                  null
                                ],
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "action": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "required": [
                              "label",
                              "path",
                              "url"
                            ],
                            "properties": {
                              "url": {
                                "type": "string",
                                "format": "uri"
                              },
                              "path": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              }
                            }
                          },
                          "status": {
                            "enum": [
                              "open",
                              "reached",
                              "completed",
                              "skipped"
                            ],
                            "type": "string"
                          },
                          "docsUrl": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "uri"
                          },
                          "reached": {
                            "type": "boolean"
                          },
                          "description": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "totalCount": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "reachedCount": {
                      "type": "integer",
                      "minimum": 0
                    }
                  }
                }
              },
              "guides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "step",
                    "completedAt"
                  ],
                  "properties": {
                    "id": {
                      "enum": [
                        "mission-control",
                        "mission-detail",
                        "mission-results"
                      ],
                      "type": "string"
                    },
                    "step": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "completedAt": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  }
                }
              },
              "complete": {
                "type": "boolean"
              },
              "totalCount": {
                "type": "integer",
                "minimum": 1
              },
              "activeGroup": {
                "enum": [
                  "first_mission",
                  "team",
                  "explore",
                  null
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              "firstMission": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "issueId",
                  "orgSlug",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "issueId": {
                    "type": "string"
                  },
                  "orgSlug": {
                    "type": "string"
                  }
                }
              },
              "reachedCount": {
                "type": "integer",
                "minimum": 0
              },
              "activeGroupProgress": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "reachedCount",
                  "totalCount"
                ],
                "properties": {
                  "totalCount": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "reachedCount": {
                    "type": "integer",
                    "minimum": 0
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Get setup progress",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_billing",
          "title": "Get workspace credits",
          "description": "Read the workspace's credit balance by source and expiry, whether a new mission would start now, the per-mission credit ceiling, the project allowance and recent usage. Check it before dispatching work.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "Get workspace credits",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_model_credit",
          "title": "Check model key credit",
          "description": "Ask each model key the workspace's agents run on whether its account can pay, with a billed request: a one-token answer for an OpenAI or Anthropic key (about a thousandth of a cent), and for an OpenRouter key the model and output limit of each default agent (less than a hundredth of a cent), which OpenRouter refuses when the balance cannot pay for the full output. willFail is true when the key the default agents use cannot pay: a mission started now stops at its first request. warning is the sentence to show the person.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "Check model key credit",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_billing_ledger",
          "title": "List workspace credit ledger",
          "description": "List where the workspace's credits went, newest first: one entry per mission (its start, each further 3 agent-hours, and messages charged before messages became free), per grant, per adjustment and per expiry. Pass nextCursor back as cursor for the next page. Owners and admins only.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Entries per page, 1-100 (default 50)."
              },
              "cursor": {
                "type": "string",
                "description": "nextCursor from the previous page; omit for the newest entries."
              }
            }
          },
          "annotations": {
            "title": "List workspace credit ledger",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_credit_offers",
          "title": "List credit packs, the monthly plans and Enterprise",
          "description": "List what SHIP sells: the credit packs (credits, the price in US dollars before tax, which checkout adds for the buyer's location, and the price per credit), the monthly plans under `team.plans` (Starter and Scale: each its credits a month, monthly price, price per credit, which credits added on top also cost, and agents at once), the range of credits a workspace on a plan can add at once, Enterprise under `enterprise` (the minimum yearly credit commitment, the highest and lowest price per credit, and the agents at once at the minimum; contracts are sold by SHIP, not through checkout), what Free and the packs allow (`limits`), the trial size, and site hosting under `sitesHosting` (the price a month for each site without a monthly plan, or null where hosting is not on sale). The same catalog the pricing page shows.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List credit packs, the monthly plans and Enterprise",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "start_credit_checkout",
          "title": "Start buying credits or a monthly plan",
          "description": "Opens a payment page and returns its URL. Nothing is charged until the buyer pays on that page. It sells one credit pack, a monthly plan (offer team, with teamPlan starter or scale, a subscription that renews until cancelled), or extra credits for a workspace already on a plan (offer team_credits, for quantity credits at that plan's own price per credit, paid once, expiring with the plan month). Only a workspace on a plan can use team_credits. Only owners and admins can open a page. The server refuses the request while startNow is false, and the same idempotencyKey returns the same page.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "offer",
              "startNow"
            ],
            "properties": {
              "offer": {
                "enum": [
                  "credit_pack_10",
                  "credit_pack_50",
                  "credit_pack_100",
                  "team",
                  "team_credits"
                ],
                "type": "string",
                "description": "A pack, team or team_credits, from list_credit_offers."
              },
              "quantity": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Credits for team_credits, within the range list_credit_offers gives; omit for a pack or a plan.",
                "exclusiveMinimum": 0
              },
              "startNow": {
                "type": "boolean",
                "description": "Records the buyer's own consent to start the credits at once, during the withdrawal period, against this text: \"Start my credits now, so they can be used during the 14-day withdrawal period. If I withdraw, I pay for the credits I used; I lose the right to withdraw once all the credits I am buying are used.\" The server refuses the request while it is false."
              },
              "teamPlan": {
                "enum": [
                  "starter",
                  "scale"
                ],
                "type": "string",
                "description": "The plan to start, for offer team only: starter or scale, from list_credit_offers."
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "Reuse on retry to get the same page back."
              }
            }
          },
          "annotations": {
            "title": "Start buying credits or a monthly plan",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "update_team_subscription",
          "title": "Change the monthly plan subscription",
          "description": "Change the workspace's monthly plan subscription: plan switches between starter and scale from the next renewal on (nothing is charged or refunded for the current month; passing the current plan drops a waiting switch), or cancelAtPeriodEnd true ends it when the month already paid for ends, false resumes it before then. Pass at least one. Owners and admins only. The answer is the subscription as it now stands, with any waiting switch under nextPlan.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "plan": {
                "enum": [
                  "starter",
                  "scale"
                ],
                "type": "string",
                "description": "The plan from the next renewal on: starter or scale, from list_credit_offers."
              },
              "cancelAtPeriodEnd": {
                "type": "boolean",
                "description": "true ends the subscription at the end of the paid month; false resumes it."
              }
            }
          },
          "annotations": {
            "title": "Change the monthly plan subscription",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "request_more_credits",
          "title": "Ask for more credits",
          "description": "Ask for more credits for the workspace, saying what they are for. Any member may ask. The answer says who has the request: SHIP for a sponsored or Enterprise workspace, its owners and admins otherwise. A message sent while a request is open joins it.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "message"
            ],
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 1,
                "description": "What the credits are for."
              }
            }
          },
          "annotations": {
            "title": "Ask for more credits",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_notices",
          "title": "Get workspace notices",
          "description": "Read what needs attention in the workspace, critical first: a tracker connection its vendor no longer accepts (missions cannot start or report back until someone reconnects it), or credits running out. Each notice has a stable id and kind, a message and, when the caller can act, an action URL to hand to a person. A notice the caller dismissed is left out. Check it before dispatching work.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "Get workspace notices",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "dismiss_notice",
          "title": "Dismiss a workspace notice",
          "description": "Close a notice for the person this token acts for, as the console's close button does. Only a notice with dismissible: true can be closed (a low balance). It stays closed while its id lasts: a low balance that a top-up ends and a later spend brings back has a new id and shows again. Critical notices cannot be closed.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "noticeId"
            ],
            "properties": {
              "noticeId": {
                "type": "string",
                "description": "The notice's id from get_notices, e.g. credits_low:<grant>"
              }
            }
          },
          "annotations": {
            "title": "Dismiss a workspace notice",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "report_setup_blocker",
          "title": "Report why setup stops",
          "description": "Record why the person this token acts for will not finish setting up SHIP, in their words: for example no repository yet, no wish to set up model keys or credits, or no time now. Call it only after the person said why. Ask them when get_setup_progress shows setup is not done and they say they will stop. Do not guess a reason. Each call is a new report. A token that acts for no person is refused.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "reason"
            ],
            "properties": {
              "detail": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "The person's own words, short. Leave out names, keys and anything private."
              },
              "reason": {
                "enum": [
                  "no-repository",
                  "want-templates",
                  "model-keys",
                  "github-access",
                  "too-complex",
                  "price",
                  "not-now",
                  "other"
                ],
                "type": "string",
                "description": "no-repository: no code or no GitHub repository to connect. want-templates: wants to start from a template. model-keys: does not want to set up model keys or credits with a model provider. github-access: does not want to give SHIP access to GitHub. too-complex: the setup is too long or unclear. price: the cost. not-now: only exploring, or will come back later. other: anything else, said in detail."
              }
            }
          },
          "annotations": {
            "title": "Report why setup stops",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "mark_setup_step",
          "title": "Mark a setup step",
          "description": "Mark a step of the setup checklist completed or skipped for the person this token acts for, as the console's Mark as complete and Skip controls do; open removes the mark. Give step for one milestone, or group to mark every open step of that group (the console's Skip all). A marked step counts as done on that person's checklist and its status says how; reached stays false until SHIP sees the step done. Returns the checklist as it now stands. A token that acts for no person is refused.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "mark"
            ],
            "properties": {
              "mark": {
                "enum": [
                  "completed",
                  "skipped",
                  "open"
                ],
                "type": "string",
                "description": "open removes the caller's mark."
              },
              "step": {
                "enum": [
                  "workspace",
                  "first_mission",
                  "first_review",
                  "first_merge",
                  "preview_deployment",
                  "agent_instructions",
                  "mcp_servers",
                  "custom_sandbox",
                  "teammate",
                  "steer_mission",
                  "checkpoints",
                  "scheduled_task",
                  "agent_to_pr"
                ],
                "type": "string",
                "description": "The milestone id from get_setup_progress. Give step or group."
              },
              "group": {
                "enum": [
                  "first_mission",
                  "team",
                  "explore"
                ],
                "type": "string",
                "description": "A group id: marks every open step of the group."
              }
            }
          },
          "annotations": {
            "title": "Mark a setup step",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_projects",
          "title": "List projects",
          "description": "List the projects accessible to the calling principal. Returns id, slug, name, status, createdAt for each. An empty list means the workspace is not set up yet: no mission can run until the person connects GitHub and a model key and creates a project in the SHIP console. Call get_setup_progress and give the person the console page of its next step.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Max results (default 20)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous call"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "data",
              "nextCursor"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "orgId",
                    "slug",
                    "name",
                    "status",
                    "tracker",
                    "trackerConnectorId",
                    "trackerTeamId",
                    "trackerProjectId",
                    "scmConnectorId",
                    "scmOwner",
                    "scmRepo",
                    "llmConnectorId",
                    "autoMerge",
                    "issueCode",
                    "defaultSandboxTemplateId",
                    "siteTemplate",
                    "createdAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "slug": {
                      "type": "string"
                    },
                    "orgId": {
                      "type": "string"
                    },
                    "status": {
                      "enum": [
                        "active",
                        "paused",
                        "archived"
                      ],
                      "type": "string"
                    },
                    "scmRepo": {
                      "type": "string"
                    },
                    "tracker": {
                      "enum": [
                        "linear",
                        "github-issues",
                        "jira",
                        "none"
                      ],
                      "type": "string"
                    },
                    "scmOwner": {
                      "type": "string"
                    },
                    "autoMerge": {
                      "type": "boolean"
                    },
                    "createdAt": {
                      "type": "integer"
                    },
                    "issueCode": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "siteTemplate": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "provisionedBy": {
                      "enum": [
                        "ship",
                        "owner"
                      ],
                      "type": "string"
                    },
                    "trackerTeamId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "llmConnectorId": {
                      "type": "string"
                    },
                    "scmConnectorId": {
                      "type": "string"
                    },
                    "trackerProjectId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "trackerConnectorId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "missingConnectorKinds": {
                      "type": "array",
                      "items": {
                        "enum": [
                          "tracker",
                          "scm",
                          "llm"
                        ],
                        "type": "string"
                      }
                    },
                    "defaultSandboxTemplateId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "nextCursor": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "List projects",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_project",
          "title": "Get project",
          "description": "Fetch a single project by its UUID. Returns 404 if the project is not in the caller's org.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Project UUID"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "orgId",
              "slug",
              "name",
              "status",
              "tracker",
              "trackerConnectorId",
              "trackerTeamId",
              "trackerProjectId",
              "scmConnectorId",
              "scmOwner",
              "scmRepo",
              "llmConnectorId",
              "autoMerge",
              "issueCode",
              "defaultSandboxTemplateId",
              "siteTemplate",
              "createdAt"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "orgId": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "active",
                  "paused",
                  "archived"
                ],
                "type": "string"
              },
              "scmRepo": {
                "type": "string"
              },
              "tracker": {
                "enum": [
                  "linear",
                  "github-issues",
                  "jira",
                  "none"
                ],
                "type": "string"
              },
              "scmOwner": {
                "type": "string"
              },
              "autoMerge": {
                "type": "boolean"
              },
              "createdAt": {
                "type": "integer"
              },
              "issueCode": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "siteTemplate": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "provisionedBy": {
                "enum": [
                  "ship",
                  "owner"
                ],
                "type": "string"
              },
              "trackerTeamId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "llmConnectorId": {
                "type": "string"
              },
              "scmConnectorId": {
                "type": "string"
              },
              "trackerProjectId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "trackerConnectorId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "missingConnectorKinds": {
                "type": "array",
                "items": {
                  "enum": [
                    "tracker",
                    "scm",
                    "llm"
                  ],
                  "type": "string"
                }
              },
              "defaultSandboxTemplateId": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "Get project",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "update_project",
          "title": "Change a project's settings",
          "description": "Change the settings of one project; a field you leave out keeps its value. status paused or archived stops new missions in the project, and active starts them again. autoMerge sets whether SHIP merges a ready pull request by itself. defaultSandboxTemplateId sets the sandbox the agents start in (null for the platform base). repoFullName, linearTeamKey and jiraProjectId connect the project to another repository, Linear team or Jira project through the organization's existing connections. tracker moves the project to another tracker: linear with linearTeamKey, jira with jiraConnectorId and jiraProjectId, github-issues on its repository, or none; it is refused while a mission of the project runs. Change only what a person asked for. Answers the project as it now stands. Requires the projects:admin scope and the config:write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1,
                "description": "A new name"
              },
              "status": {
                "enum": [
                  "active",
                  "paused",
                  "archived"
                ],
                "type": "string",
                "description": "active, paused or archived"
              },
              "tracker": {
                "enum": [
                  "linear",
                  "github-issues",
                  "jira",
                  "none"
                ],
                "type": "string",
                "description": "Move the project to linear, github-issues, jira or none; only when a person asked for the move"
              },
              "autoMerge": {
                "type": "boolean",
                "description": "true merges a ready pull request without a person"
              },
              "issueCode": {
                "type": "string",
                "pattern": "^[A-Za-z][A-Za-z0-9]{1,4}$",
                "description": "A GitHub Issues project's issue id prefix, 2-5 characters; only new ids use it"
              },
              "projectId": {
                "type": "string",
                "description": "Project id, from list_projects"
              },
              "repoFullName": {
                "type": "string",
                "pattern": "^[^/\\s]+\\/[^/\\s]+$",
                "description": "owner/repo of the repository to connect, through the organization's GitHub connection"
              },
              "jiraProjectId": {
                "type": "string",
                "pattern": "^\\d+$",
                "description": "A Jira project's numeric id on the project's Jira site, e.g. 10000; Jira-tracked projects only"
              },
              "linearTeamKey": {
                "type": "string",
                "minLength": 1,
                "description": "The key of the Linear team to connect, e.g. ENG"
              },
              "jiraConnectorId": {
                "type": "string",
                "minLength": 1,
                "description": "The Jira site's connection id, for tracker jira only"
              },
              "defaultSandboxTemplateId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "A sandbox id (sbt_...) from list_sandbox_templates, or null for the platform base"
              }
            }
          },
          "annotations": {
            "title": "Change a project's settings",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "transfer_project_repository",
          "title": "Transfer project repository",
          "description": "Move the repository that SHIP made for a project with Start from scratch into the person's own empty GitHub repository, or name that repository for a transfer that waits on it. Only the repository moves. The hosted site, its waitlist, its database and SHIP's models, paid in credits, stay. SHIP archives its own copy and deletes it after a grace period. Only an owner of the workspace can do this, and never while missions or site publishes of the project run. The result gives the next step in action: choose_target means the person makes an empty repository on their own GitHub account, installs SHIP's GitHub App on it, and you call transfer_project_repository again with that connection's connectorId and the repository as owner/name. wait means SHIP copies and checks the repository: read the transfer with get_project_transfer after pollAfterSeconds. After the project uses the new repository, the transfer cannot be cancelled.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Project id from list_projects"
              },
              "repository": {
                "type": "string",
                "pattern": "^[A-Za-z0-9-]{1,39}\\/[A-Za-z0-9._-]{1,100}$",
                "description": "The person's empty repository as owner/name, which that installation covers"
              },
              "connectorId": {
                "type": "string",
                "minLength": 1,
                "description": "The workspace's GitHub connection for the person's own installation of SHIP's GitHub App"
              },
              "idempotencyKey": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1,
                "description": "A key of your own: a repeat with the same key answers the same transfer"
              }
            }
          },
          "annotations": {
            "title": "Transfer project repository",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "get_project_transfer",
          "title": "Get project transfer",
          "description": "Read the transfer of a project's repository to the person's GitHub account: its state, what the person does next, where the repository goes, and when SHIP deletes its archived copy. This tool only reads: SHIP moves the transfer on by itself. The result gives the next step in action: choose_target means the person makes an empty repository on their own GitHub account, installs SHIP's GitHub App on it, and you call transfer_project_repository again with that connection's connectorId and the repository as owner/name. wait means SHIP copies and checks the repository: read the transfer with get_project_transfer after pollAfterSeconds.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Project id from list_projects"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "projectId",
              "state",
              "version",
              "action",
              "repository",
              "createdAt",
              "updatedAt",
              "checkedAt",
              "deleteAfter",
              "completedAt",
              "pollAfterSeconds",
              "failure",
              "choices"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "state": {
                "enum": [
                  "requested",
                  "awaiting_target",
                  "mirroring",
                  "verifying",
                  "repointed",
                  "archived",
                  "done",
                  "failed",
                  "cancelled"
                ],
                "type": "string",
                "description": "`requested` before SHIP checks anything. `awaiting_target` while the founder must name their own empty repository. `mirroring` while SHIP copies every branch and tag into it, and `verifying` while SHIP checks that each one has the same commit. `repointed` when the project uses the founder's repository. `archived` when SHIP's own copy is read-only and waits for its delete, and `done` after the delete. `failed` gives the cause in `failure`. `cancelled` when the founder stopped it before the repoint."
              },
              "action": {
                "enum": [
                  "choose_target",
                  "wait",
                  null
                ],
                "type": [
                  "string",
                  "null"
                ],
                "description": "What the founder does next: name their empty repository with SHIP's GitHub App installed on it, or wait while SHIP copies and checks it."
              },
              "choices": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "connectorId",
                    "name"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "connectorId": {
                      "type": "string"
                    }
                  }
                }
              },
              "failure": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "category",
                  "title",
                  "description",
                  "retryable"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "category": {
                    "enum": [
                      "auth",
                      "rate_limit",
                      "timeout",
                      "validation",
                      "infrastructure",
                      "agent",
                      "unknown"
                    ],
                    "type": "string"
                  },
                  "retryable": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "string"
                  }
                }
              },
              "version": {
                "type": "integer"
              },
              "checkedAt": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "createdAt": {
                "type": "integer"
              },
              "projectId": {
                "type": "string"
              },
              "updatedAt": {
                "type": "integer"
              },
              "repository": {
                "type": "object",
                "required": [
                  "from",
                  "to"
                ],
                "properties": {
                  "to": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "from": {
                    "type": "string"
                  }
                }
              },
              "completedAt": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "deleteAfter": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "pollAfterSeconds": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "Get project transfer",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "cancel_project_transfer",
          "title": "Cancel project transfer",
          "description": "Stop the transfer of a project's repository before the project uses the new repository. The project keeps SHIP's copy, and SHIP writes nothing more to the person's repository. Only an owner of the workspace can do this.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Project id from list_projects"
              }
            }
          },
          "annotations": {
            "title": "Cancel project transfer",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "start_mission",
          "title": "Start a mission",
          "description": "Hand a mission off to the AI agent team. Omit startAt for the default full run (planner first); pass startAt='builder' with a plan to skip straight to coding; pass startAt='reviewer' or startAt='qa' with an existing prNumber to hand off an existing build. Requires the missions:run token scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId",
              "projectId"
            ],
            "properties": {
              "plan": {
                "type": "string",
                "description": "Hand-off plan markdown, for startAt='builder'"
              },
              "agents": {
                "type": "object",
                "properties": {
                  "qa": {
                    "type": "object",
                    "properties": {
                      "model": {
                        "type": "string",
                        "minLength": 1
                      },
                      "harness": {
                        "enum": [
                          "claude-code",
                          "codex",
                          "pi",
                          "kilo-code",
                          "open-code"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "builder": {
                    "type": "object",
                    "properties": {
                      "model": {
                        "type": "string",
                        "minLength": 1
                      },
                      "harness": {
                        "enum": [
                          "claude-code",
                          "codex",
                          "pi",
                          "kilo-code",
                          "open-code"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "planner": {
                    "type": "object",
                    "properties": {
                      "model": {
                        "type": "string",
                        "minLength": 1
                      },
                      "harness": {
                        "enum": [
                          "claude-code",
                          "codex",
                          "pi",
                          "kilo-code",
                          "open-code"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "reviewer": {
                    "type": "object",
                    "properties": {
                      "model": {
                        "type": "string",
                        "minLength": 1
                      },
                      "harness": {
                        "enum": [
                          "claude-code",
                          "codex",
                          "pi",
                          "kilo-code",
                          "open-code"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "description": "Per-role harness/model override for THIS mission only; overrides ship.yml without changing it",
                "additionalProperties": false
              },
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-244 or WEB-42"
              },
              "startAt": {
                "enum": [
                  "builder",
                  "reviewer",
                  "qa"
                ],
                "type": "string",
                "description": "Pipeline stage to enter at; omit for the default full run starting at the planner"
              },
              "prNumber": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Existing open PR number, required for startAt='reviewer' or startAt='qa'",
                "exclusiveMinimum": 0
              },
              "projectId": {
                "type": "string",
                "description": "Project id the mission belongs to"
              }
            }
          },
          "annotations": {
            "title": "Start a mission",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "create_mission",
          "title": "Create a mission",
          "description": "Create the tracker issue AND start the run in one call, for work that has no issue yet. Pass entryStartAt='builder' with an entryPlan to hand over a plan you already wrote; pass entryStartAt='reviewer'/'qa' with entryPrNumber to hand over an existing build — in which case title may be omitted and the pull request's own title names the mission. For the first mission of a SHIP Sites project, pass starter (website, blog, docs or waitlist) and site, the shared form, in place of title and description: SHIP writes the issue, or a mission with no issue on a project SHIP made with Start from scratch, and holds the site address. Read list_site_starters first. This tool calls the SHIP API, documented at https://letsship.ai/docs/api. Requires the missions:run token scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId"
            ],
            "properties": {
              "site": {
                "type": "object",
                "required": [
                  "kind",
                  "slug",
                  "brand",
                  "brandRights"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "website",
                      "blog",
                      "docs",
                      "waitlist"
                    ],
                    "type": "string",
                    "description": "The same kind as starter"
                  },
                  "slug": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The site address: https://<slug>.letsship.app, 3 to 40 of a-z, 0-9 and hyphens"
                  },
                  "about": {
                    "type": "object",
                    "required": [
                      "name",
                      "location",
                      "description"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "The name of the business, 2 to 60 characters"
                      },
                      "location": {
                        "type": "string",
                        "description": "Where the business is, in the person's words: a town, an address, or online"
                      },
                      "description": {
                        "type": "string",
                        "description": "What the business does and for whom, in the person's words: 10 to 2000 characters"
                      }
                    },
                    "description": "website, blog and waitlist: the three answers every founder gives first. Ask the person all three. The other facts of the kind are optional"
                  },
                  "brand": {
                    "type": "object",
                    "required": [
                      "source"
                    ],
                    "properties": {
                      "logo": {
                        "type": "object",
                        "required": [
                          "contentType",
                          "data"
                        ],
                        "properties": {
                          "data": {
                            "type": "string",
                            "minLength": 1,
                            "description": "The file, base64-encoded, up to 2 MB"
                          },
                          "contentType": {
                            "enum": [
                              "image/png",
                              "image/jpeg",
                              "image/webp"
                            ],
                            "type": "string"
                          }
                        },
                        "description": "The logo file, for the brand source logo"
                      },
                      "source": {
                        "enum": [
                          "website",
                          "logo",
                          "preset"
                        ],
                        "type": "string",
                        "description": "website: SHIP captures the brand from websiteUrl. logo: from logo. preset: one of list_brand_presets"
                      },
                      "presetId": {
                        "type": "string",
                        "description": "A preset id from list_brand_presets, for the source preset"
                      },
                      "brandName": {
                        "type": "string",
                        "description": "2 to 60 characters, for the sources logo and preset. With about, send about.name"
                      },
                      "websiteUrl": {
                        "type": "string",
                        "description": "An https URL that answers, for the source website"
                      }
                    },
                    "description": "Where the brand comes from (one of three sources)"
                  },
                  "topic": {
                    "type": "string",
                    "description": "blog, optional: the topic of the first post. Without it, the business"
                  },
                  "author": {
                    "type": "string",
                    "description": "blog, optional: the author of the first post. Without it, the business"
                  },
                  "outline": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "docs: three to seven page titles"
                  },
                  "product": {
                    "type": "string",
                    "description": "waitlist, optional: what people join the waitlist for. Without it, the business. Only a project SHIP made with Start from scratch takes a waitlist"
                  },
                  "business": {
                    "type": "object",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "menu": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "restaurant: one to twelve dishes, each the name then the price with its currency, such as Tomato soup €7"
                      },
                      "type": {
                        "enum": [
                          "local-business",
                          "restaurant",
                          "appointments",
                          "coach",
                          "app",
                          "portfolio",
                          "shop",
                          "events"
                        ],
                        "type": "string",
                        "description": "A type from businessTypes of list_site_starters"
                      },
                      "work": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "portfolio: one to six kinds of work, one for each line, such as Posters"
                      },
                      "email": {
                        "type": "string",
                        "description": "portfolio: the email address where people ask for work"
                      },
                      "hours": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "local-business, restaurant, appointments: one to seven groups of days, each the days then the hours, such as Monday to Friday 08:00 to 18:00 or Sunday: closed"
                      },
                      "phone": {
                        "type": "string",
                        "description": "local-business, restaurant, appointments: the phone number customers call"
                      },
                      "events": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "events: one to twelve dates, each YYYY-MM-DD, the time, then the name, the place and the price, such as 2026-11-21 20:30 Jazz night, The Cellar, €18"
                      },
                      "prices": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "local-business: one to eight prices, each the name then the price with its currency, such as Brake service €25"
                      },
                      "address": {
                        "type": "string",
                        "description": "local-business, restaurant, appointments, events: the street, the postcode and the town"
                      },
                      "shopUrl": {
                        "type": "string",
                        "description": "shop: an https URL where people buy"
                      },
                      "orderUrl": {
                        "type": "string",
                        "description": "restaurant: an https URL where guests order to take away or for delivery"
                      },
                      "products": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "shop: one to eight products, each the name then the price with its currency, such as Stoneware mug €24"
                      },
                      "services": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "appointments, coach: one to ten services, each the name, the time if given, then the price with its currency, such as Haircut 30 min €25"
                      },
                      "bookingUrl": {
                        "type": "string",
                        "description": "local-business, restaurant, appointments, coach: an https URL where customers book"
                      },
                      "ticketsUrl": {
                        "type": "string",
                        "description": "events: an https URL where people buy tickets"
                      },
                      "appStoreUrl": {
                        "type": "string",
                        "description": "app: an https URL of the app on the App Store"
                      },
                      "googlePlayUrl": {
                        "type": "string",
                        "description": "app: an https URL of the app on Google Play"
                      }
                    },
                    "description": "website: the optional answers of a type of business. list_site_starters gives each type and its questions. Send only the answers the type asks, and only those the person gave: the starter site leaves out a section with no answer"
                  },
                  "language": {
                    "enum": [
                      "en",
                      "de",
                      "fr",
                      "es",
                      "nl",
                      "pt",
                      "tr"
                    ],
                    "type": "string",
                    "description": "The language of the site's words, from languages of list_site_starters. Without it, English"
                  },
                  "brandRights": {
                    "type": "object",
                    "required": [
                      "accepted",
                      "textVersion"
                    ],
                    "properties": {
                      "accepted": {
                        "type": "boolean",
                        "const": true
                      },
                      "textVersion": {
                        "type": "string",
                        "minLength": 1,
                        "description": "brandRights.version from list_site_starters"
                      }
                    },
                    "description": "The confirmation of the person the token acts for: they own this brand or have the right to use it. Send it only when that person confirmed the text that list_site_starters gives."
                  },
                  "productName": {
                    "type": "string",
                    "description": "docs: the product name"
                  },
                  "productWebsite": {
                    "type": "string",
                    "description": "docs: the product website, an https URL"
                  }
                },
                "description": "The form of a site starter. Required with starter; leave out title, description, labels and entry"
              },
              "title": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Issue title. Omit ONLY with entryPrNumber — the pull request's own title is then used"
              },
              "agents": {
                "type": "object",
                "properties": {
                  "qa": {
                    "type": "object",
                    "properties": {
                      "model": {
                        "type": "string",
                        "minLength": 1
                      },
                      "harness": {
                        "enum": [
                          "claude-code",
                          "codex",
                          "pi",
                          "kilo-code",
                          "open-code"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "builder": {
                    "type": "object",
                    "properties": {
                      "model": {
                        "type": "string",
                        "minLength": 1
                      },
                      "harness": {
                        "enum": [
                          "claude-code",
                          "codex",
                          "pi",
                          "kilo-code",
                          "open-code"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "planner": {
                    "type": "object",
                    "properties": {
                      "model": {
                        "type": "string",
                        "minLength": 1
                      },
                      "harness": {
                        "enum": [
                          "claude-code",
                          "codex",
                          "pi",
                          "kilo-code",
                          "open-code"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "reviewer": {
                    "type": "object",
                    "properties": {
                      "model": {
                        "type": "string",
                        "minLength": 1
                      },
                      "harness": {
                        "enum": [
                          "claude-code",
                          "codex",
                          "pi",
                          "kilo-code",
                          "open-code"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "description": "Per-role harness/model override for THIS mission only; overrides ship.yml without changing it",
                "additionalProperties": false
              },
              "labels": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "maxItems": 10,
                "description": "Tracker labels to apply"
              },
              "starter": {
                "enum": [
                  "website",
                  "blog",
                  "docs",
                  "waitlist"
                ],
                "type": "string",
                "description": "The first mission of a SHIP Sites project of this kind; needs site"
              },
              "entryPlan": {
                "type": "string",
                "description": "Hand-off plan markdown, for entryStartAt='builder'"
              },
              "projectId": {
                "type": "string",
                "description": "Project id the mission belongs to"
              },
              "description": {
                "type": "string",
                "maxLength": 10000,
                "description": "Issue body; acceptance criteria written here are parsed as they would be on any issue"
              },
              "entryStartAt": {
                "enum": [
                  "builder",
                  "reviewer",
                  "qa"
                ],
                "type": "string",
                "description": "Pipeline stage to enter at; omit for the default full run starting at the planner"
              },
              "entryPrNumber": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Existing open PR number, required for entryStartAt='reviewer' or 'qa'",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Create a mission",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "set_agents_override",
          "title": "Set a per-issue agents-override for one role",
          "description": "Patch one role's harness/model/effort/prompt for a single mission, layered over ship.yml per-field (a role or field this call omits keeps resolving from ship.yml — SHIP-337). Use promptContent or promptPath(+promptRef) to run an ephemeral prompt experiment (spec D9) without committing to the target repo. Read-modify-write: this call is merged onto the previously stored override record (via get_agents_override), so a prior set for a DIFFERENT role — or a different field on this same role, e.g. an earlier harness pin — survives; the underlying PUT is a full-record replace and would otherwise silently drop it. This tool calls the SHIP API, documented at https://letsship.ai/docs/api.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId",
              "projectId",
              "role"
            ],
            "properties": {
              "role": {
                "enum": [
                  "planner",
                  "builder",
                  "reviewer",
                  "qa"
                ],
                "type": "string",
                "description": "The role this override entry patches"
              },
              "size": {
                "anyOf": [
                  {
                    "enum": [
                      "standard-1",
                      "standard-2",
                      "standard-3",
                      "standard-4"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "required": [
                      "vcpu",
                      "memoryMib",
                      "diskMb"
                    ],
                    "properties": {
                      "vcpu": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      },
                      "diskMb": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      },
                      "memoryMib": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      }
                    }
                  }
                ],
                "description": "Container size for this role on this mission"
              },
              "model": {
                "type": "string",
                "minLength": 1,
                "description": "The model id this role uses for this mission. The harness must support it"
              },
              "effort": {
                "type": "string",
                "minLength": 1,
                "description": "Reasoning effort for this role, mapped to the harness's own control at dispatch: low, medium, high or xhigh, and also max on claude-code. A value the harness does not take is refused at dispatch."
              },
              "harness": {
                "enum": [
                  "claude-code",
                  "codex",
                  "pi",
                  "kilo-code",
                  "open-code"
                ],
                "type": "string",
                "description": "The code harness this role runs on for this mission"
              },
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-353 or WEB-42"
              },
              "sandbox": {
                "type": "string",
                "minLength": 1,
                "description": "Sandbox name or id this role starts in for this mission (beats ship.yml and the project default)"
              },
              "rejectOn": {
                "enum": [
                  "critical",
                  "suggestion",
                  "trivial"
                ],
                "type": "string",
                "description": "Review rejection threshold — only meaningful on the reviewer role"
              },
              "projectId": {
                "type": "string",
                "description": "Project id the mission belongs to"
              },
              "promptRef": {
                "type": "string",
                "minLength": 1,
                "description": "Git ref for promptPath — only meaningful alongside promptPath."
              },
              "baseBranch": {
                "type": "string",
                "minLength": 1,
                "description": "Override the pipeline's fork/target branch for this mission"
              },
              "checkpoint": {
                "type": "boolean",
                "description": "Pause the pipeline after this role's stage completes"
              },
              "promptMode": {
                "enum": [
                  "replace",
                  "extend"
                ],
                "type": "string",
                "description": "How this prompt relates to the repo's own .ship/agents/<role>.md (or ship.yml-pointed) layer. replace (default) makes this the role's only role-prompt layer; extend resolves the repo's layer first and appends this content after it, as a separately attributed span. Only meaningful with promptContent or promptPath. NOTE: the merge is per FIELD, and prompt is one field — a later call that sets a new promptContent/promptPath without repeating promptMode replaces the whole stored prompt, reverting to replace."
              },
              "promptPath": {
                "type": "string",
                "maxLength": 512,
                "minLength": 1,
                "description": "Repo-relative path to an L2 prompt file. Without promptRef this is the SHIP-347 pointer form (resolved at the pinned base branch); with promptRef it's a path+ref experiment resolved at that ref."
              },
              "promptContent": {
                "type": "string",
                "maxLength": 30000,
                "minLength": 1,
                "description": "Inline prompt-experiment body, capped at 30,000 characters. Mutually exclusive with promptPath."
              }
            }
          },
          "annotations": {
            "title": "Set a per-issue agents-override for one role",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "get_agents_override",
          "title": "Read a mission's agents-override",
          "description": "Read the per-issue agents/baseBranch override record for one mission, or null when unset.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId",
              "projectId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-353 or WEB-42"
              },
              "projectId": {
                "type": "string",
                "description": "Project id the mission belongs to"
              }
            }
          },
          "annotations": {
            "title": "Read a mission's agents-override",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "send_mission_instruction",
          "title": "Send a follow-up instruction to a mission",
          "description": "Tell a mission what to change. Use kind='follow_up' (the default) to ask for a change: the instruction reaches the agents AND dispatches the builder against the mission's open pull request, overriding cached review and QA verdicts. Use kind='note' to record context for whatever runs next without starting any work. A restart is a different thing: it re-evaluates an unchanged pull request against its cached verdicts, and so changes nothing. Returns a receipt saying what was recorded and what it will cause. This tool calls the SHIP API, documented at https://letsship.ai/docs/api. Requires the missions:write token scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId",
              "body"
            ],
            "properties": {
              "body": {
                "type": "string",
                "maxLength": 10000,
                "minLength": 1,
                "description": "What the agents should do. Travels verbatim into the prompt"
              },
              "kind": {
                "enum": [
                  "follow_up",
                  "note"
                ],
                "type": "string",
                "description": "follow_up (default) dispatches the builder; note records context and dispatches nothing"
              },
              "issueId": {
                "type": "string",
                "description": "Issue id the mission is tracked under, e.g. SHIP-244 or GH-1280"
              }
            }
          },
          "annotations": {
            "title": "Send a follow-up instruction to a mission",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "clear_agents_override",
          "title": "Clear a mission's agents-override",
          "description": "Delete the per-issue agents/baseBranch override — the mission resolves from ship.yml again.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId",
              "projectId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-353 or WEB-42"
              },
              "projectId": {
                "type": "string",
                "description": "Project id the mission belongs to"
              }
            }
          },
          "annotations": {
            "title": "Clear a mission's agents-override",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "list_missions",
          "title": "List missions",
          "description": "List missions in the caller's accessible projects, newest activity first, with total for paging. Each has issueId, title, activity (what it does now), pipelineProgress, review/check/test state, PR, cost and paused. Archived missions are left out. Requires the missions:read scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 25,
                "maximum": 100,
                "minimum": 1,
                "description": "Page size (default 25). Narrow with projectId, activity or search before raising it."
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, for the next page"
              },
              "search": {
                "type": "string",
                "description": "Match the issue id, title, owner or repository"
              },
              "activity": {
                "enum": [
                  "queued",
                  "planning",
                  "building",
                  "fixing_ci",
                  "addressing_review",
                  "addressing_qa",
                  "ci_running",
                  "ci_failed",
                  "reviewing",
                  "changes_requested",
                  "deploying",
                  "testing",
                  "qa_failed",
                  "ready_to_merge",
                  "auto_merging",
                  "needs_attention",
                  "merged",
                  "auto_merged",
                  "declined",
                  "pausing",
                  "paused",
                  "stopped"
                ],
                "type": "string",
                "description": "Filter by what the mission does now"
              },
              "projectId": {
                "type": "string",
                "description": "Filter to one project id"
              }
            }
          },
          "annotations": {
            "title": "List missions",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_mission",
          "title": "Get mission detail",
          "description": "Fetch one mission. view='summary' (the default, small enough to poll) returns its summary (activity, stage, review/check/test state, PR, paused and pauseSource, cost), its agent runs (sandboxId, role, status, harness, model, cost) and proofRunSandboxId (pass it to list_artifacts as sandboxId for the proof). view='full' adds its stages, events, stats and the plan/review/QA outcomes. pauseSource 'checkpoint:<role>' means a checkpoint holds it: resume_mission approves that stage. pauseSource 'qa-unverifiable' means QA could not check some acceptance criteria: answer_qa_checkpoint answers it. For a mission that needs attention, summary.escalation says whether an error or a platform judgement stopped it and summary.escalationCause holds the whole error. Requires the missions:read scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId"
            ],
            "properties": {
              "view": {
                "enum": [
                  "summary",
                  "full"
                ],
                "type": "string",
                "default": "summary",
                "description": "summary (default) for the state, runs and proof run; full for every stage, event and outcome"
              },
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              },
              "orgSlug": {
                "type": "string",
                "description": "Narrow an issue id to one org"
              },
              "projectId": {
                "type": "string",
                "description": "Narrow an issue id that two projects share"
              }
            }
          },
          "annotations": {
            "title": "Get mission detail",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "pause_mission",
          "title": "Pause a mission",
          "description": "Hold a mission before its next stage. The stage that runs now finishes; no agent is stopped. Use resume_mission to continue. Requires the missions:write scope and a role that can control missions.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              }
            }
          },
          "annotations": {
            "title": "Pause a mission",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "resume_mission",
          "title": "Resume a mission",
          "description": "Continue a paused mission. When a checkpoint holds it (get_mission shows pauseSource 'checkpoint:<role>'), this approves that stage's result and starts the next stage. To ask for changes to the result instead, use send_mission_instruction. Requires the missions:write scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              }
            }
          },
          "annotations": {
            "title": "Resume a mission",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "stop_mission",
          "title": "Stop a mission",
          "description": "Hard-stop a mission: every agent run of it stops and its work in progress is lost. The pull request stays open, and start_mission starts the mission again. To stop one agent run only, use stop_agent_run. Requires the missions:write scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              }
            }
          },
          "annotations": {
            "title": "Stop a mission",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "approve_mission_ceiling",
          "title": "Let a mission continue past its credit limit",
          "description": "A mission that reached its credit limit pauses until a member lets it continue. This raises the mission's limit by one step and runs the stage that stopped again, so it spends credits: ask the person first. Returns the new limit. Answers 409 when the mission is not at its limit. Requires the missions:run scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId",
              "projectId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              },
              "projectId": {
                "type": "string",
                "description": "Project id the mission belongs to (get_mission's summary.projectId)"
              }
            }
          },
          "annotations": {
            "title": "Let a mission continue past its credit limit",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "answer_qa_checkpoint",
          "title": "Answer the QA checkpoint of a mission",
          "description": "A mission waits at the QA checkpoint (get_mission shows pauseSource 'qa-unverifiable') when QA could not check some acceptance criteria, so no code change can move it. A person checks those criteria another way, then answers. 'accept' counts QA as passed, 'reject' ends the mission as failed, and 'rerun' runs QA again on the same commit. Send only the decision the person made. Answers 409 when the mission does not wait at the QA checkpoint. Requires the missions:write scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId",
              "decision"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              },
              "decision": {
                "enum": [
                  "accept",
                  "reject",
                  "rerun"
                ],
                "type": "string",
                "description": "accept (QA counts as passed), reject (the mission fails) or rerun (QA runs again)"
              }
            }
          },
          "annotations": {
            "title": "Answer the QA checkpoint of a mission",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "merge_mission",
          "title": "Merge a mission's pull request",
          "description": "Merge the mission's open pull request on GitHub with the repository's own merge method; the mission then becomes done, and the merge cannot be undone from here. When the branch is out of date with its base, answers 202 with status 'updating_branch' and a message: SHIP updates the branch and merges once CI passes, with no further call. Answers 409 with the reason for any other blocker (missing reviews, failing checks, another branch protection). On a merge conflict SHIP starts the builder to fix it and merges once the mission is ready again, with no further call. Requires the missions:write scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              }
            }
          },
          "annotations": {
            "title": "Merge a mission's pull request",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "decline_mission",
          "title": "Decline a mission's pull request",
          "description": "Close the mission's open pull request on GitHub without merging it; the mission becomes declined, and no call here reopens it. Requires the missions:write scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              }
            }
          },
          "annotations": {
            "title": "Decline a mission's pull request",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "set_mission_auto_merge",
          "title": "Turn auto-merge on or off for one mission",
          "description": "Set whether SHIP merges this mission's pull request by itself once the checks, the review and the test pass. The setting is for this mission only and replaces the project's auto-merge for it; get_project shows the project's. While it is on, SHIP merges without asking again. Requires the missions:write scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId",
              "enabled"
            ],
            "properties": {
              "enabled": {
                "type": "boolean",
                "description": "true merges the pull request once it is ready; false leaves the merge to a person"
              },
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              }
            }
          },
          "annotations": {
            "title": "Turn auto-merge on or off for one mission",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "archive_mission",
          "title": "Archive a mission",
          "description": "Hide a finished mission from list_missions and the board. Nothing else changes: unarchive_mission shows it again. Requires the missions:write scope and the config:write capability (an owner or admin).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              }
            }
          },
          "annotations": {
            "title": "Archive a mission",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "unarchive_mission",
          "title": "Unarchive a mission",
          "description": "Show an archived mission in list_missions and on the board again. Requires the missions:write scope and the config:write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              }
            }
          },
          "annotations": {
            "title": "Unarchive a mission",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "set_mission_disposition",
          "title": "Record why a mission ended",
          "description": "Record a person's reason for how a mission ended, which the delivery statistics use: product (real work, judged on its merits), probe (a test on purpose), superseded (another mission replaced it: give supersededBy) or takeover (a person finished the work outside SHIP); null clears it. Set it only with the person's answer, never from your own guess. Requires the missions:write scope and the config:write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId",
              "disposition"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-412"
              },
              "disposition": {
                "anyOf": [
                  {
                    "enum": [
                      "product",
                      "probe",
                      "superseded",
                      "takeover"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "product, probe, superseded or takeover; null clears a disposition set by mistake"
              },
              "supersededBy": {
                "type": "string",
                "minLength": 1,
                "description": "The issue id of the mission that replaced this one, for disposition superseded only"
              }
            }
          },
          "annotations": {
            "title": "Record why a mission ended",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "list_scheduled_tasks",
          "title": "List scheduled tasks",
          "description": "List recurring agent missions (scheduled tasks) across the caller's accessible projects — schedule, enabled state, and next/last fire time for each. Pass projectId for the tasks of one project.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Only the scheduled tasks of this project"
              }
            }
          },
          "annotations": {
            "title": "List scheduled tasks",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_scheduled_task_templates",
          "title": "List scheduled task templates",
          "description": "Read-only gallery of curated scheduled task templates — a prepared prompt plus a suggested cadence. A template is content, not a code path: pass its key as templateKey on create_scheduled_task for attribution, or copy its prompt/schedule into a hand-written scheduled task.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List scheduled task templates",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_scheduled_task",
          "title": "Get scheduled task",
          "description": "Fetch one scheduled task by id: its project, name, prompt, triggers (schedule), labels, template key, skip-if-previous-open setting, enabled state, and next/last run times. An id outside the caller's accessible projects returns not found. For what each fire produced, use list_scheduled_task_runs.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "scheduledTaskId"
            ],
            "properties": {
              "scheduledTaskId": {
                "type": "string",
                "description": "Scheduled task id, e.g. from list_scheduled_tasks"
              }
            }
          },
          "annotations": {
            "title": "Get scheduled task",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_scheduled_task",
          "title": "Create a scheduled task",
          "description": "Create a recurring agent mission. Firing it — on schedule, or immediately via run_scheduled_task — creates an ordinary tracker issue assigned to the agent, which drives a normal pipeline run: a scheduled task is a stored mission request, not a new execution mode. This tool calls the SHIP API, documented at https://letsship.ai/docs/api. Requires the config:write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "name",
              "prompt",
              "interval",
              "time",
              "timezone"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1,
                "description": "Scheduled task name, shown in the console and used in the issue title"
              },
              "time": {
                "type": "string",
                "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                "description": "24-hour wall-clock time in `timezone`, e.g. '09:00'."
              },
              "labels": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 100,
                  "minLength": 1
                },
                "maxItems": 10,
                "description": "Tracker label names put on every issue this scheduled task files (default none). The label must ALREADY exist in the project's tracker team — the platform attaches labels but cannot create them, so a name the workspace does not have is dropped."
              },
              "prompt": {
                "type": "string",
                "maxLength": 20000,
                "minLength": 1,
                "description": "Becomes the created issue's description verbatim on every fire"
              },
              "enabled": {
                "type": "boolean",
                "description": "Whether the schedule is armed (default true)"
              },
              "weekday": {
                "enum": [
                  "monday",
                  "tuesday",
                  "wednesday",
                  "thursday",
                  "friday",
                  "saturday",
                  "sunday"
                ],
                "type": "string",
                "description": "Day of week — required when interval is 'weekly'."
              },
              "interval": {
                "enum": [
                  "daily",
                  "weekly",
                  "monthly"
                ],
                "type": "string",
                "description": "Fire cadence. 'weekly' requires weekday; 'monthly' requires dayOfMonth."
              },
              "timezone": {
                "type": "string",
                "minLength": 1,
                "description": "IANA timezone id, e.g. 'Europe/Amsterdam'."
              },
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Project id the scheduled task belongs to"
              },
              "dayOfMonth": {
                "type": "integer",
                "maximum": 28,
                "minimum": 1,
                "description": "Day of month, 1-28 — required when interval is 'monthly' (capped at 28 so every month has the day)."
              },
              "templateKey": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1,
                "description": "Attribution only, when authored from a template — see list_scheduled_task_templates"
              },
              "skipIfPreviousOpen": {
                "type": "boolean",
                "description": "Skip a scheduled fire while the previous fire's mission is still open (default true — the guardrail is opt-out, not opt-in)"
              }
            }
          },
          "annotations": {
            "title": "Create a scheduled task",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "update_scheduled_task",
          "title": "Update a scheduled task",
          "description": "Patch a scheduled task's name, prompt, schedule, skip-guard, or enabled state — only the fields passed are changed. To change the schedule, set interval/time/timezone together (plus weekday or dayOfMonth as the interval requires). This tool calls the SHIP API, documented at https://letsship.ai/docs/api. Requires the config:write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "scheduledTaskId"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1,
                "description": "Scheduled task name, shown in the console and used in the issue title"
              },
              "time": {
                "type": "string",
                "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                "description": "24-hour wall-clock time in `timezone`, e.g. '09:00'."
              },
              "labels": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 100,
                  "minLength": 1
                },
                "maxItems": 10,
                "description": "Tracker label names put on every issue this scheduled task files (replaces the list; [] clears it). The label must ALREADY exist in the project's tracker team — the platform attaches labels but cannot create them, so a name the workspace does not have is dropped."
              },
              "prompt": {
                "type": "string",
                "maxLength": 20000,
                "minLength": 1,
                "description": "Replaces the issue description verbatim"
              },
              "enabled": {
                "type": "boolean",
                "description": "Set false to pause the schedule without deleting the scheduled task"
              },
              "weekday": {
                "enum": [
                  "monday",
                  "tuesday",
                  "wednesday",
                  "thursday",
                  "friday",
                  "saturday",
                  "sunday"
                ],
                "type": "string",
                "description": "Day of week — required when interval is 'weekly'."
              },
              "interval": {
                "enum": [
                  "daily",
                  "weekly",
                  "monthly"
                ],
                "type": "string",
                "description": "Fire cadence. 'weekly' requires weekday; 'monthly' requires dayOfMonth."
              },
              "timezone": {
                "type": "string",
                "minLength": 1,
                "description": "IANA timezone id, e.g. 'Europe/Amsterdam'."
              },
              "dayOfMonth": {
                "type": "integer",
                "maximum": 28,
                "minimum": 1,
                "description": "Day of month, 1-28 — required when interval is 'monthly' (capped at 28 so every month has the day)."
              },
              "scheduledTaskId": {
                "type": "string",
                "description": "Scheduled task id to update"
              },
              "skipIfPreviousOpen": {
                "type": "boolean",
                "description": "Skip a scheduled fire while the previous fire's mission is still open (default true — the guardrail is opt-out, not opt-in)"
              }
            }
          },
          "annotations": {
            "title": "Update a scheduled task",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "run_scheduled_task",
          "title": "Run a scheduled task now",
          "description": "Fire a scheduled task immediately, bypassing both its schedule and the skip-if-previous-open guard — an explicit run always creates a new issue even while a prior fire's mission is still open. Requires the pipeline:control capability and, for a token caller, the missions:run scope — the same authorization starting a mission by hand requires, because it is the same act.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "scheduledTaskId"
            ],
            "properties": {
              "scheduledTaskId": {
                "type": "string",
                "description": "Scheduled task id to fire"
              }
            }
          },
          "annotations": {
            "title": "Run a scheduled task now",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "list_scheduled_task_runs",
          "title": "List a scheduled task's run history",
          "description": "Run history for one scheduled task, each row's status (dispatching/dispatched/skipped/failed) and, once its issue exists, the joined mission progress/cost. A 'dispatched' status means the issue was created and the mission started — never that the work succeeded; read the joined mission state for that. Newest first; when older runs exist, pass nextCursor back as cursor for the next page.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "scheduledTaskId"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 1,
                "description": "Runs per page, 1-200 (default 50)"
              },
              "cursor": {
                "type": "string",
                "description": "nextCursor from the previous page; omit for the newest runs"
              },
              "scheduledTaskId": {
                "type": "string",
                "description": "Scheduled task id"
              }
            }
          },
          "annotations": {
            "title": "List a scheduled task's run history",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "delete_scheduled_task",
          "title": "Delete a scheduled task",
          "description": "Delete a scheduled task and its run history, which no call can bring back. Missions it already started continue. Setting enabled to false stops new runs and keeps the task and its history. Requires the scheduled-tasks:write scope and the config:write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "scheduledTaskId"
            ],
            "properties": {
              "scheduledTaskId": {
                "type": "string",
                "description": "Scheduled task id to delete"
              }
            }
          },
          "annotations": {
            "title": "Delete a scheduled task",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "list_mcp_servers",
          "title": "List a project's MCP servers",
          "description": "The MCP servers a project's repository declares in its MCP file (.mcp.json by default), each with its binding: enabled roles, transport, status, approved tools, per-role effective tool counts (null when the server runs inside the sandbox and the role gets every tool it exposes), and the NAMES of the credential fields set (never values). Also reports whether the file could be read (configStatus).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Project id, e.g. from list_projects"
              }
            }
          },
          "annotations": {
            "title": "List a project's MCP servers",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_mcp_bindings",
          "title": "List the org's MCP bindings",
          "description": "Every MCP server binding across the projects you can see in your org: project, server, transport, status, enabled roles, how it authenticates, and the NAMES of the credential fields set (never values). Use it to find where a credential is used; use list_mcp_servers for one project's full detail.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List the org's MCP bindings",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "set_mcp_config_path",
          "title": "Set a project's MCP file path",
          "description": "Point the project at the repository file that declares its MCP servers, e.g. .cursor/mcp.json or .vscode/mcp.json. null restores the default (.mcp.json). The file is read, never edited. When the repository's ship.yml sets mcp.config, that wins and this call is refused (409); list_mcp_servers reports which one applies as configPathSource. Requires the config:write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "configPath"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Project id, e.g. from list_projects"
              },
              "configPath": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Repository-relative path, or null"
              }
            }
          },
          "annotations": {
            "title": "Set a project's MCP file path",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "bind_mcp_server",
          "title": "Bind an MCP server",
          "description": "Create or update the binding for a server the repository declares. roles is the full set of pipeline roles that may use it (reviewer and qa only ever receive read-only tools, and cannot use a server that runs inside the sandbox). transport: 'remote' (the gateway proxies to the server's URL), 'isolate' (the gateway runs the server's npm package in isolation, for a command that needs a secret) or 'local' (the command runs inside the sandbox, no credential). Omit transport and remoteUrl on an update to keep the server the binding is pinned to, with its credential (a roles, tools or credential edit); set them only to bind or re-point the server. Requires the config:write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "serverName",
              "roles"
            ],
            "properties": {
              "roles": {
                "type": "array",
                "items": {
                  "enum": [
                    "planner",
                    "builder",
                    "reviewer",
                    "qa"
                  ],
                  "type": "string"
                },
                "maxItems": 4,
                "description": "Every role that may use the server ([] disables it)"
              },
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Project id, e.g. from list_projects"
              },
              "remoteUrl": {
                "type": "string",
                "format": "uri",
                "maxLength": 2048,
                "description": "A fixed https URL: a hosted endpoint for a command server, or an override for a URL server"
              },
              "transport": {
                "enum": [
                  "remote",
                  "isolate",
                  "local"
                ],
                "type": "string",
                "description": "How the gateway reaches the server: 'remote' proxies to remoteUrl, 'isolate' runs the server's npm package away from the sandbox so a secret stays out of it, and 'local' runs the command inside the sandbox with no credential. Omit it on an update to keep the server the binding is pinned to."
              },
              "credential": {
                "oneOf": [
                  {
                    "type": "object",
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "none"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "headers"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "headers"
                      },
                      "headers": {
                        "type": "object",
                        "description": "Header name to value, 1-10 entries, e.g. { Authorization: 'Bearer ...' }. Remote servers only.",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "string",
                          "maxLength": 4096,
                          "minLength": 1
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "env",
                      "allowedHosts"
                    ],
                    "properties": {
                      "env": {
                        "type": "object",
                        "description": "Environment variable to value, 1-20 entries. Isolated servers only.",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "string",
                          "maxLength": 4096,
                          "minLength": 1
                        }
                      },
                      "kind": {
                        "type": "string",
                        "const": "isolate-env"
                      },
                      "allowedHosts": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 253,
                          "minLength": 1
                        },
                        "maxItems": 10,
                        "minItems": 1,
                        "description": "Exact hostnames the isolated server may reach; the credential can go nowhere else."
                      }
                    }
                  }
                ],
                "description": "Write-only credential the gateway attaches; agents never receive it. Omit to keep the stored one. OAuth credentials are not set here: bind as remote with kind 'none', then start_mcp_server_oauth."
              },
              "serverName": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "Server name as the repository's MCP file declares it (see list_mcp_servers)"
              },
              "approvedTools": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 128,
                      "minLength": 1
                    },
                    "attestedReadOnly": {
                      "type": "boolean",
                      "description": "Owner attestation that an UNANNOTATED tool only reads; lets reviewer and qa use it"
                    }
                  }
                },
                "maxItems": 200,
                "description": "The approved subset of the tool snapshot (refresh_mcp_server_tools first). Omit to keep it."
              }
            }
          },
          "annotations": {
            "title": "Bind an MCP server",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "unbind_mcp_server",
          "title": "Remove an MCP server binding",
          "description": "Delete a binding and its stored credential: no role receives the server from its next run. The repository's MCP file is not changed, so the server can be bound again. Requires config:write.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "serverName"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Project id, e.g. from list_projects"
              },
              "serverName": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "Server name as the repository's MCP file declares it (see list_mcp_servers)"
              }
            }
          },
          "annotations": {
            "title": "Remove an MCP server binding",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "refresh_mcp_server_tools",
          "title": "Refresh an MCP server's tool list",
          "description": "Snapshot the bound server's current tools (with their readOnlyHint / destructiveHint annotations) for approval. Approvals of tools that no longer exist are dropped. The binding must be ready; a server inside the sandbox has no gateway tool list. Requires config:write.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "serverName"
            ],
            "properties": {
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Project id, e.g. from list_projects"
              },
              "serverName": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "Server name as the repository's MCP file declares it (see list_mcp_servers)"
              }
            }
          },
          "annotations": {
            "title": "Refresh an MCP server's tool list",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "start_mcp_server_oauth",
          "title": "Start OAuth for a remote MCP server",
          "description": "Begin the OAuth consent for a server bound as remote. Returns an authorizeUrl that a HUMAN must open in a browser signed in to the SHIP console as the same user this token acts for; the provider returns to the console, which stores the credential. The link is single-use and expires (expiresAt). An agent cannot complete the consent itself. Requires config:write.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "projectId",
              "serverName"
            ],
            "properties": {
              "scope": {
                "type": "string",
                "maxLength": 512,
                "description": "Requested scope; defaults to the server's own hint"
              },
              "returnTo": {
                "type": "string",
                "pattern": "^\\/",
                "maxLength": 512,
                "description": "Console path to land on after consent, e.g. /projects/<id>"
              },
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "Project id, e.g. from list_projects"
              },
              "serverName": {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
                "description": "Server name as the repository's MCP file declares it (see list_mcp_servers)"
              }
            }
          },
          "annotations": {
            "title": "Start OAuth for a remote MCP server",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "list_agent_runs",
          "title": "List agent runs",
          "description": "List the agent runs, live and finished, in the caller's accessible projects, newest first. Each run is one agent in its own sandbox. Returns id (the run's sandbox id), issueId, role, harness, status, instance type, and latest CPU/memory/disk metrics. When more runs match, nextCursor is set: pass it back as cursor, with the same filters, for the next page.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "role": {
                "enum": [
                  "planner",
                  "builder",
                  "reviewer",
                  "qa"
                ],
                "type": "string",
                "description": "Only the runs of this agent role"
              },
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 500,
                "minimum": 1,
                "description": "Max results (default 50). Narrow with projectId, issueId, role or status before raising it."
              },
              "cursor": {
                "type": "string",
                "description": "nextCursor from the previous page; omit for the newest runs"
              },
              "status": {
                "enum": [
                  "running",
                  "stale",
                  "completed",
                  "stopped",
                  "failed"
                ],
                "type": "string",
                "description": "Filter by how the run stands: running, completed (finished), stopped (ended on purpose before it finished), failed, or stale (closed without a report)"
              },
              "issueId": {
                "type": "string",
                "description": "Only the runs of this mission, by its issue id, e.g. SHIP-412"
              },
              "projectId": {
                "type": "string",
                "description": "Filter to one project id"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "data",
              "nextCursor"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "sandboxId",
                    "issueId",
                    "projectId",
                    "role",
                    "harness",
                    "harnessVersion",
                    "runId",
                    "status",
                    "terminationReason",
                    "instanceType",
                    "createdAt",
                    "timeoutAt",
                    "lastHeartbeatAt",
                    "endedAt",
                    "lastCpuPct",
                    "lastMemUsedMb",
                    "lastMemTotalMb",
                    "lastDiskUsedPct",
                    "lastMetricAt"
                  ],
                  "properties": {
                    "role": {
                      "type": "string"
                    },
                    "runId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "enum": [
                        "running",
                        "stale",
                        "completed",
                        "stopped",
                        "failed"
                      ],
                      "type": "string",
                      "description": "How the agent's run in this sandbox stands. `running`: the agent works now. `completed`: the agent finished its work. `stopped`: something ended the run on purpose before it finished, for example a newer run, a stop of the mission or a person. `failed`: the agent reported a failure, or exited without a report. `stale`: the platform closed the run without a report, after its time limit or after a later attempt replaced it."
                    },
                    "endedAt": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "When the run ended, in epoch milliseconds. Null until the run ends."
                    },
                    "harness": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "issueId": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "integer"
                    },
                    "projectId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sandboxId": {
                      "type": "string"
                    },
                    "timeoutAt": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "lastCpuPct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "instanceType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lastMetricAt": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "lastMemUsedMb": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "harnessVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lastMemTotalMb": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "lastDiskUsedPct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lastHeartbeatAt": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "terminationReason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "nextCursor": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "List agent runs",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_agent_run",
          "title": "Get agent run detail",
          "description": "Fetch one agent run: its run record, metric series (CPU/mem/disk over time), and the agent session summaries (role, outcome, cost, sessionId). sessions lists every session of the run's role on the mission; runSessionId names this run's own, so read its log and cost from that one.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "sandboxId"
            ],
            "properties": {
              "sandboxId": {
                "type": "string",
                "description": "Agent run id: the run's sandbox id, from list_agent_runs"
              }
            }
          },
          "annotations": {
            "title": "Get agent run detail",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_agent_run_logs",
          "title": "Get agent run logs",
          "description": "Fetch a session's log content from one agent run. part=session is the agent stream-json (reasoning + tool calls); part=system is the container/runner stdout (clone, dependency install, validation gate, git, callback); part=prompt is the assembled input prompt. The role and sessionId are fields of the agent run's own record. A log longer than 40,000 characters returns its end, from a whole line, with a note.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "sandboxId",
              "role",
              "sessionId"
            ],
            "properties": {
              "part": {
                "enum": [
                  "session",
                  "system",
                  "prompt"
                ],
                "type": "string",
                "default": "session",
                "description": "Which log stream to read"
              },
              "role": {
                "type": "string",
                "description": "Agent role: planner | builder | reviewer | qa"
              },
              "sandboxId": {
                "type": "string",
                "description": "Agent run id: the run's sandbox id"
              },
              "sessionId": {
                "type": "string",
                "description": "Session id from get_agent_run's sessions list"
              }
            }
          },
          "annotations": {
            "title": "Get agent run logs",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "watch_agent_run",
          "title": "Watch an agent run",
          "description": "Wait on one agent run and follow what its agent does, instead of polling get_agent_run. The call returns when the run ends, when its mission moves to another stage, or after maxSeconds. While it waits, each agent event (a thought, a tool call, a plan update, an error) is sent as a progress notification when the request has a progress token. The result has the status of the run, the stage of its mission, ended, the reason it returned, the last 20 events and a cursor. When the run is still running, call it again with since set to the cursor. A run that already ended returns at once. If your client ends a call after 60 seconds, set maxSeconds below that.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "sandboxId"
            ],
            "properties": {
              "since": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "The cursor from an earlier result. Only the events after it are sent"
              },
              "sandboxId": {
                "type": "string",
                "description": "Agent run id: the run's sandbox id, from list_agent_runs or get_mission"
              },
              "maxSeconds": {
                "type": "integer",
                "default": 300,
                "maximum": 600,
                "minimum": 1,
                "description": "The longest time to wait, in seconds (default 300, at most 600)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "sandboxId",
              "status",
              "stage",
              "ended",
              "reason",
              "events",
              "cursor"
            ],
            "properties": {
              "hint": {
                "type": "string",
                "description": "What to do next, when the run is still running"
              },
              "ended": {
                "type": "boolean",
                "description": "True when the run is no longer running"
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The stage of the run's mission when the call returned"
              },
              "cursor": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The id of the last event. Give it as since to continue"
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "at",
                    "kind",
                    "text"
                  ],
                  "properties": {
                    "at": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "description": "When the agent emitted it, in epoch milliseconds"
                    },
                    "id": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "description": "The cursor of the event"
                    },
                    "kind": {
                      "type": "string",
                      "description": "thought, action, plan or error"
                    },
                    "text": {
                      "type": "string",
                      "description": "The event as one line"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "The last 20 events at most, oldest first"
              },
              "reason": {
                "enum": [
                  "run_ended",
                  "stage_changed",
                  "time_cap"
                ],
                "type": "string",
                "description": "Why the call returned: the run ended, its mission moved to another stage, or maxSeconds passed"
              },
              "status": {
                "enum": [
                  "running",
                  "stale",
                  "completed",
                  "stopped",
                  "failed"
                ],
                "type": "string",
                "description": "The status of the run when the call returned"
              },
              "sandboxId": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Watch an agent run",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "stop_agent_run",
          "title": "Stop an agent run",
          "description": "Stop the agent in one run before it finishes. Its work in progress is lost, and the run's status becomes stopped a few seconds later. Needs an org admin and the sandboxes:stop scope. This stops one agent run, not the mission: to stop the whole mission, use POST /v1/missions/{issueId}/stop.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "sandboxId"
            ],
            "properties": {
              "sandboxId": {
                "type": "string",
                "description": "Agent run id: the run's sandbox id, from list_agent_runs"
              }
            }
          },
          "annotations": {
            "title": "Stop an agent run",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "list_sandbox_templates",
          "title": "List custom sandboxes",
          "description": "List the org's sandboxes (definitions agents start in), with each one's active version, size and latest build status.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List custom sandboxes",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_sandbox_capacity",
          "title": "Read how many agents are running",
          "description": "How many agents the org's missions are running at once against its limit (null while the org is unclassified), which missions wait for an agent slot and why, and whether every slot on the platform is taken. Read from the platform's once-a-minute capacity check.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "orgId": {
                "type": "string",
                "description": "Required only for a caller in several orgs"
              }
            }
          },
          "annotations": {
            "title": "Read how many agents are running",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_sandbox_starters",
          "title": "List sandbox starters",
          "description": "Ready-made sandbox definitions (Python, Java, Go, Rust, Ruby) to create a sandbox from.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List sandbox starters",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_sandbox_template_versions",
          "title": "List a sandbox's versions",
          "description": "Every saved version of a sandbox, newest first, with the active one marked and each one's latest build.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "templateId"
            ],
            "properties": {
              "templateId": {
                "type": "string",
                "description": "Sandbox id (sbt_...)"
              }
            }
          },
          "annotations": {
            "title": "List a sandbox's versions",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_sandbox_build_log",
          "title": "Read a sandbox build's log",
          "description": "A page of a build's log after sequence number `after`. Call again with after = nextAfter until done is true.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "templateId",
              "buildId"
            ],
            "properties": {
              "after": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Return chunks after this sequence number (default 0)"
              },
              "buildId": {
                "type": "string",
                "description": "Build id (tbd_...)"
              },
              "templateId": {
                "type": "string",
                "description": "Sandbox id (sbt_...)"
              }
            }
          },
          "annotations": {
            "title": "Read a sandbox build's log",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "save_sandbox_template",
          "title": "Create or update a sandbox",
          "description": "Create a sandbox (omit templateId) or change one. A definition is Dockerfile steps on the platform base (RUN, ENV, ARG, WORKDIR, USER; no FROM). A changed definition or size becomes a new version and is built at once; the response carries that build. Refusals name the line or the size bound.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1,
                "description": "Required when creating"
              },
              "size": {
                "anyOf": [
                  {
                    "enum": [
                      "standard-1",
                      "standard-2",
                      "standard-3",
                      "standard-4"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "required": [
                      "vcpu",
                      "memoryMib",
                      "diskMb"
                    ],
                    "properties": {
                      "vcpu": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      },
                      "diskMb": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      },
                      "memoryMib": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      }
                    }
                  }
                ],
                "description": "A tier, or { vcpu, memoryMib, diskMb } within 1-4 vCPU, >=3072 MiB per vCPU, <=12288 MiB, 8000-20000 MB"
              },
              "starterId": {
                "type": "string",
                "description": "Create from a starter's definition and size"
              },
              "dockerfile": {
                "type": "string",
                "minLength": 1,
                "description": "The Dockerfile that builds the sandbox image. Give this or starterId to create; it replaces the file on an update"
              },
              "templateId": {
                "type": "string",
                "description": "Sandbox id (sbt_...)"
              }
            }
          },
          "annotations": {
            "title": "Create or update a sandbox",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "activate_sandbox_template_version",
          "title": "Roll a sandbox back (or forward) to a version",
          "description": "Make a version the one missions use from their next dispatch. It is rebuilt only if its snapshot is gone; the response says which.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "templateId",
              "versionId"
            ],
            "properties": {
              "versionId": {
                "type": "string",
                "description": "Version id (stv_...)"
              },
              "templateId": {
                "type": "string",
                "description": "Sandbox id (sbt_...)"
              }
            }
          },
          "annotations": {
            "title": "Roll a sandbox back (or forward) to a version",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "build_sandbox_template",
          "title": "Build a sandbox now",
          "description": "Build the sandbox's active version, or return the build already running for it.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "templateId"
            ],
            "properties": {
              "templateId": {
                "type": "string",
                "description": "Sandbox id (sbt_...)"
              }
            }
          },
          "annotations": {
            "title": "Build a sandbox now",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "list_sandbox_registries",
          "title": "List private registries",
          "description": "The org's private package registries sandboxes install from: host, auth scheme, username. Never the secret.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List private registries",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "save_sandbox_registry",
          "title": "Store a private registry credential",
          "description": "Store (or replace) the credential for a registry host. The platform attaches it to sandbox requests for that host only; it never enters a sandbox and is never returned.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "host",
              "scheme",
              "secret"
            ],
            "properties": {
              "host": {
                "type": "string",
                "minLength": 1,
                "description": "Registry host or URL, e.g. npm.pkg.github.com"
              },
              "scheme": {
                "enum": [
                  "bearer",
                  "basic"
                ],
                "type": "string",
                "description": "How the registry takes the credential: 'bearer' sends secret as a token, 'basic' sends username and secret"
              },
              "secret": {
                "type": "string",
                "minLength": 1,
                "description": "Token or password"
              },
              "username": {
                "type": "string",
                "minLength": 1,
                "description": "Required for basic"
              }
            }
          },
          "annotations": {
            "title": "Store a private registry credential",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "delete_sandbox_template",
          "title": "Delete a sandbox",
          "description": "Delete a sandbox with all its versions and builds. Answers 409 while an agent or a project's default sandbox uses it: point those at another sandbox first (update_project with defaultSandboxTemplateId). Missions that run in it now finish. Requires the agents:write scope and the config:write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "templateId"
            ],
            "properties": {
              "templateId": {
                "type": "string",
                "description": "Sandbox id (sbt_...)"
              }
            }
          },
          "annotations": {
            "title": "Delete a sandbox",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "delete_sandbox_registry",
          "title": "Remove a private registry credential",
          "description": "Delete the stored credential of a private registry (an id from list_sandbox_registries). A sandbox build that installs from that host then gets no credential. Requires the connectors:write scope and the config:write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "registryId"
            ],
            "properties": {
              "registryId": {
                "type": "string",
                "description": "Registry credential id, from list_sandbox_registries"
              }
            }
          },
          "annotations": {
            "title": "Remove a private registry credential",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "list_environments",
          "title": "List preview environments",
          "description": "List per-mission preview environments for the caller's accessible projects. Returns id, issueId, projectId, prNumber, workerName, and lifecycle status.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 500,
                "minimum": 1,
                "description": "Max results (default 50). Narrow with issueId, projectId or status before raising it."
              },
              "status": {
                "enum": [
                  "provisioning",
                  "active",
                  "destroying",
                  "destroyed",
                  "failed"
                ],
                "type": "string",
                "description": "Filter by lifecycle status"
              },
              "issueId": {
                "type": "string",
                "description": "Filter to one issue id"
              },
              "projectId": {
                "type": "string",
                "description": "Filter to one project id"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "data",
              "nextCursor"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "environmentId",
                    "projectId",
                    "issueId",
                    "prNumber",
                    "workerName",
                    "status",
                    "createdAt",
                    "expiresAt",
                    "destroyedAt"
                  ],
                  "properties": {
                    "status": {
                      "enum": [
                        "provisioning",
                        "active",
                        "destroying",
                        "destroyed",
                        "failed"
                      ],
                      "type": "string"
                    },
                    "issueId": {
                      "type": "string"
                    },
                    "prNumber": {
                      "type": "integer"
                    },
                    "createdAt": {
                      "type": "integer"
                    },
                    "expiresAt": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "projectId": {
                      "type": "string"
                    },
                    "workerName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "destroyedAt": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "environmentId": {
                      "type": "string"
                    }
                  }
                }
              },
              "nextCursor": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "List preview environments",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_environment",
          "title": "Get preview environment detail",
          "description": "Fetch one preview environment's registry row (status, worker name, timestamps).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "environmentId"
            ],
            "properties": {
              "environmentId": {
                "type": "string",
                "description": "Environment id (from list_environments)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "environment"
            ],
            "properties": {
              "environment": {
                "type": "object",
                "required": [
                  "environmentId",
                  "projectId",
                  "issueId",
                  "prNumber",
                  "workerName",
                  "status",
                  "createdAt",
                  "expiresAt",
                  "destroyedAt"
                ],
                "properties": {
                  "status": {
                    "enum": [
                      "provisioning",
                      "active",
                      "destroying",
                      "destroyed",
                      "failed"
                    ],
                    "type": "string"
                  },
                  "issueId": {
                    "type": "string"
                  },
                  "prNumber": {
                    "type": "integer"
                  },
                  "createdAt": {
                    "type": "integer"
                  },
                  "expiresAt": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "projectId": {
                    "type": "string"
                  },
                  "workerName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "destroyedAt": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "environmentId": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Get preview environment detail",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "destroy_environment",
          "title": "Destroy a preview environment",
          "description": "Request teardown of a preview environment (its deployed Worker(s) + every provisioned datastore). Enqueues to the orchestrator; requires project write capability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "environmentId"
            ],
            "properties": {
              "environmentId": {
                "type": "string",
                "description": "Environment id to tear down"
              }
            }
          },
          "annotations": {
            "title": "Destroy a preview environment",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "list_artifacts",
          "title": "List artifacts",
          "description": "List proof-of-work artifacts (QA screenshots/video/traces) for the caller's accessible projects. Each row carries kind, content type, caption, the acceptance criterion it proves, the sandboxId of the agent run that produced it, and a long-lived signed serving url. Filter by issueId to get one ticket's evidence: the artifacts of every run, superseded QA attempts included, up to limit; a note says when more exist. For the mission's proof of work specifically, read proofRunSandboxId from GET /v1/missions/{id} and pass it as sandboxId.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 2000,
                "minimum": 1,
                "description": "Max results (default 50). Narrow with issueId or sandboxId before raising it."
              },
              "issueId": {
                "type": "string",
                "description": "Filter to one issue (e.g. SHIP-133)"
              },
              "projectId": {
                "type": "string",
                "description": "Filter to one project id"
              },
              "sandboxId": {
                "type": "string",
                "description": "Filter to ONE agent run's artifacts (e.g. the mission's proofRunSandboxId)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "data",
              "nextCursor"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "projectId",
                    "issueId",
                    "sessionId",
                    "sandboxId",
                    "role",
                    "kind",
                    "contentType",
                    "sizeBytes",
                    "caption",
                    "criterion",
                    "criterionPassed",
                    "createdAt",
                    "expiresAt",
                    "url",
                    "traceViewerUrl"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "kind": {
                      "enum": [
                        "screenshot",
                        "video",
                        "log",
                        "other"
                      ],
                      "type": "string"
                    },
                    "role": {
                      "type": "string"
                    },
                    "caption": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "issueId": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string"
                    },
                    "criterion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "expiresAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "projectId": {
                      "type": "string"
                    },
                    "sandboxId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sessionId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sizeBytes": {
                      "type": "integer"
                    },
                    "contentType": {
                      "type": "string"
                    },
                    "traceViewerUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "criterionPassed": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  }
                }
              },
              "nextCursor": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "List artifacts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_artifact",
          "title": "Get artifact",
          "description": "Fetch one artifact's metadata + a long-lived signed serving url (open it to view the screenshot/video).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Artifact id (from list_artifacts)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "projectId",
              "issueId",
              "sessionId",
              "sandboxId",
              "role",
              "kind",
              "contentType",
              "sizeBytes",
              "caption",
              "criterion",
              "criterionPassed",
              "createdAt",
              "expiresAt",
              "url",
              "traceViewerUrl"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "kind": {
                "enum": [
                  "screenshot",
                  "video",
                  "log",
                  "other"
                ],
                "type": "string"
              },
              "role": {
                "type": "string"
              },
              "caption": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "issueId": {
                "type": "string"
              },
              "createdAt": {
                "type": "string"
              },
              "criterion": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expiresAt": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "projectId": {
                "type": "string"
              },
              "sandboxId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sessionId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sizeBytes": {
                "type": "integer"
              },
              "contentType": {
                "type": "string"
              },
              "traceViewerUrl": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "criterionPassed": {
                "type": [
                  "boolean",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "Get artifact",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "inspect_mission",
          "title": "Inspect mission",
          "description": "Fetch the typed platform-inspection report for a mission, by its issue id. Returns per-section KV/D1/R2 state: task state, retry reason, dispatch error, latest review + QA verdicts, run index, per-attempt provenance, running sandboxes, and session-log heads. Requires the inspect:read scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "issueId"
            ],
            "properties": {
              "issueId": {
                "type": "string",
                "description": "The mission's issue id: a Linear key or a GitHub Issues id, e.g. SHIP-199 or WEB-42"
              },
              "orgSlug": {
                "type": "string",
                "description": "Narrow an ambiguous issue code to one org"
              },
              "sections": {
                "type": "string",
                "description": "Comma-separated section filter (default all): taskState,retryReason,provenance,…"
              },
              "projectId": {
                "type": "string",
                "description": "Scope to a specific project id"
              }
            }
          },
          "annotations": {
            "title": "Inspect mission",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_orgs",
          "title": "List every org (cross-tenant)",
          "description": "List every organization on the platform with its owner email, member count, and pending invite status. Requires platform-admin (cross_org) access. Cursor-paginated (default page size 50) — feed the response's nextCursor back as the cursor input to reach the next page; a null nextCursor means there are no more pages.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, 1-100 (API default 50)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque page cursor, echoed back as nextCursor by a prior call"
              }
            }
          },
          "annotations": {
            "title": "List every org (cross-tenant)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "SHIP runs a team of AI coding agents (planner, builder, reviewer, QA) on the user's own GitHub repository. Each mission takes one issue to a pull request that passed CI, a code review and a test of its acceptance criteria.\nStart with whoami (who you act as, the workspace and the token's scopes) or list_projects (the project ids that mission calls need).\nMission lifecycle:\n- start_mission runs an issue that already exists in the tracker; create_mission files the issue and starts it in one call.\n- A mission runs for tens of minutes. To wait on one of its agent runs, call watch_agent_run, not a poll: it returns when the run ends or its stage changes. Read get_mission between runs. inspect_mission has the full record when one fails.\n- To change what a mission does, or to answer its review, call send_mission_instruction. Never call start_mission again to send feedback: call it again only to restart a mission that ended or needs attention.\nCredits: every mission that start_mission, create_mission or run_scheduled_task starts spends workspace credits. Before you start work for someone, read get_billing and check_model_credit. Instructions to an open mission are free.\nHandles are stable: an issue id (SHIP-123, WEB-42) and a project id name the same mission and project across calls and conversations. Keep them instead of searching again.\nA refusal that names a missing scope means this token cannot do that action. Ask the person to grant the scope; do not retry."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}