get_deployment_events
Retrieve build and runtime event logs for a deployment to diagnose failed builds and runtime bugs.
Instructions
Get the build/runtime event log of a deployment (this is where build logs and errors live). Use to diagnose failed builds and runtime bugs. Returns log lines with text, type and timestamps.
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": {
"idOrUrl": "<idOrUrl>"
},
"name": "get_deployment_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idOrUrl | Yes | Deployment id (dpl_...) or URL. | |
| builds | No | Include build events. Default true. | |
| direction | No | Log order. | |
| limit | No | Maximum number of items to return. | |
| since | No | Events after this timestamp (ms). | |
| until | No | Events 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). |