get_build_logs
Retrieve build logs for a deployment to identify build steps and failure reasons. Use it when a deployment is in ERROR state.
Instructions
Get the BUILD logs of a deployment — what ran during the build and why it failed. Use this first when a deployment is in ERROR state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idOrUrl | Yes | Deployment id (dpl_...) or URL. | |
| limit | No | Maximum number of items to return. | |
| since | No | Logs after this timestamp (ms). | |
| until | No | Logs before this timestamp (ms). | |
| teamId | No | Team ID to scope the request. Falls back to VERCEL_TEAM_ID when omitted. | |
| slug | No | Team slug to scope the request (alternative to teamId). |