Deployment logs
logsThe log of a project's latest deployment, or of a given deployment, newest lines last, with secrets removed. errors_only keeps only errors and warnings. The lines are the build's and the app's own output. Changes nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | How many lines, newest last. Default 80. | |
| project | No | The project's id, name or repository. Optional with one project. | |
| workspace | No | A teammate's workspace id. Default: your own. | |
| errors_only | No | Only errors and warnings | |
| deployment_id | No | A specific deployment, instead of the latest |