Home / Servers / DigitalOcean API / apps_get_event_logs

Retrieve Event Logs

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Retrieve Event Logs Retrieve the logs of an autoscaling event for an app. [GET /v2/apps/{app_id}/events/{event_id}/logs]

Name on the gateway: digitalocean_api__apps_get_event_logs · read-only.

Parameters

NameTypeDescription
app_id requiredstringThe app ID
event_id requiredstringThe event ID
followbooleanWhether the logs should follow live updates.
type requiredUNSPECIFIED | BUILD | DEPLOY | RUN | RUN_RESTARTED | AUTOSCALE_EVENTThe type of logs to retrieve - BUILD: Build-time logs - DEPLOY: Deploy-time…
pod_connection_timeoutstringAn optional time duration to wait if the underlying component instance is not…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__apps_get_event_logs",
  "arguments": {
    "app_id": "…",
    "event_id": "…",
    "type": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the retrieve event logs tool with app_id set to ….

More from DigitalOcean API