project_deploy_log
Get the build log for a deploy — the entry the bundler detected, every chunk it emitted with sizes, function bundle sizes, and any warnings. Compilation runs on the platform (you deploy raw source), so this is how you SEE what the build did — why CSS dropped, which chunk a warning came from — instead of reverse-engineering compiled output. Without version, it returns the latest deploy; a version from project_deploys returns a past one. Complements the build_log + rollback fields that project_deploy now returns inline.
Also surfaces failure context alongside (or instead of) a normal build log: last_failed_build (the most recent build that failed to compile), last_rejected (the most recent deploy rejected before compile, e.g. bundled-output detection), and recent_failures (up to 5 safe rows with failure_id, code, classification, message, remediation, known_cause, version, and at). somewhere api GET /v1/deploy/failure/<failure_id> resolves one exact reference. If the project has never had a successful deploy, version comes back null with an empty build_log and whatever failure context exists — that's the answer to "why did my first deploy fail," not an error.
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": {
"project_id": "<project_id>"
},
"name": "project_deploy_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Deploy version to fetch the log for (from project_deploys). Omitted: the latest deploy. | |
| project_id | Yes | Project ID, slug, subdomain, or 'default'. | |
| release_id | No | A release id from a deploy or patch response. Returns that release's blank-page check: post_live_render (status pending, clear, warned, rolled_back, ...), blank_page_check, and the DEPLOY_BLANK_PAGE `rejection` when the page rendered blank, including a release already rolled back. |