Build / deploy status of a commit
github_build_statusVerify that a commit's site build and deployment went live by reading GitHub Actions, combined commit status, and deployment states, optionally polling until all checks settle.
Instructions
Whether the site actually built and went live after a commit: GitHub Actions check runs, the combined commit status, and deployments with their latest state (how Netlify and Vercel report back). With CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID set it also reads the commit's Cloudflare Workers Builds and Pages deployments, which often report nothing to GitHub. Call it after github_commit_files with the sha it returned, before submitting the URL to IndexNow or inspecting it in Search Console. waitSeconds polls until everything finishes instead of returning a pending snapshot. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>"
},
"name": "github_build_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Commit sha or branch name; defaults to the repository's default branch head. | |
| repo | Yes | Repository as 'owner/name', e.g. 'octocat/my-site'. | |
| verifyUrl | No | Page to fetch once the build settles, to confirm the change is actually live. Needed for hosts that deploy without reporting back to GitHub (Cloudflare without the API token), where checks alone stay empty. | |
| expectText | No | Text that must appear in verifyUrl's HTML for the deploy to count as live, e.g. a phrase from the page you just changed. | |
| includeLogs | No | For failed Actions runs, include the tail of the failing job's log (helps diagnose a broken build). | |
| waitSeconds | No | Keep polling until every check and deployment settles, up to this many seconds. 0 returns immediately. |