Get container logs for a deployment
edgegap_get_deployment_logsRetrieve stdout, stderr, and crash output for a deployment to diagnose errors or unexpected server exits using the crash exit code before redeploying.
Instructions
Retrieve stdout/stderr and crash output for a deployment. Call this whenever a deployment errors or a server exits unexpectedly — the crash exit code usually identifies the problem faster than redeploying does. Logs for stopped deployments are only retained if Endpoint Storage was configured on the version beforehand.
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": {
"request_id": "<request_id>"
},
"name": "edgegap_get_deployment_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | The request_id of the deployment. | |
| max_characters | No | Truncate logs to this length (500-50000), keeping the tail. Default 8000. |