Home / Servers / DigitalOcean API / apps_get_job_invocation_logs
Retrieve Job Invocation Logs
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Retrieve Job Invocation Logs Retrieve the logs of a past, in-progress, or active deployment. If a component name is specified, the logs will be limited to only that component. If deployment is omitted the active deployment will… [GET /v2/apps/{app_id}/jobs/{job_name}/invocations/{job_invocation_id}/logs]
Name on the gateway: digitalocean_api__apps_get_job_invocation_logs · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
app_id required | string | The app ID |
job_name required | string | The job name to list job invocations for. |
job_invocation_id required | string | The ID of the job invocation to retrieve. |
deployment_id | string | The deployment ID |
follow | boolean | Whether the logs should follow live updates. |
type required | JOB_INVOCATION | The type of logs to retrieve |
pod_connection_timeout | string | An optional time duration to wait if the underlying component instance is not… |
tail_lines | string | The number of lines from the end of the logs to retrieve. |
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:
{
"name": "digitalocean_api__apps_get_job_invocation_logs",
"arguments": {
"app_id": "…",
"job_name": "…",
"job_invocation_id": "…",
"type": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
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 job invocation logs tool with app_id set to ….