Get app logs
get_app_logsFetch application and deployment logs for a project environment from mapped providers such as Vercel and Railway. Restrict by provider, deployment, or time range to diagnose issues.
Instructions
Fetch application/deployment logs for a project environment from the mapped provider(s). If provider is given, reads that provider only; otherwise reads every mapped provider that supports logs (Vercel + Railway in V0, Vercel prioritized). Returns the resource used, time range, log lines, and any API limitation. Reads are allowed everywhere and are audited.
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": {
"environment": "<environment>"
},
"name": "get_app_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max log lines (default 100) | |
| since | No | Only logs after this time (epoch ms or ISO timestamp) | |
| project | No | Project id or slug; uses selected if omitted | |
| provider | No | Restrict to one provider (e.g. 'vercel') | |
| environment | Yes | Environment id or name | |
| deployment_id | No | Specific deployment to read logs for |