Home / Servers / Vercel API / get_vercel_ci_task_logs

Get log lines for the tasks of an invocation attempt

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

Get log lines for the tasks of an invocation attempt Returns log lines for the tasks of an invocation attempt in a single request, grouped by task. Tasks can be narrowed by name and by conclusion, for example conclusion=failed to fetch only the logs… [GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/task-logs]

Name on the gateway: vercel_api__get_vercel_ci_task_logs · read-only.

Parameters

NameTypeDescription
invocationId requiredstringinvocationId parameter
attempt requiredstringattempt parameter
taskarrayOnly return tasks with one of these names (e.g., \"web#test\").
conclusionarrayOnly return completed tasks with one of these conclusions.
levelarrayOnly return log lines with one of these levels.
searchstringOnly return log lines containing this text, ignoring case. Tasks without…
limitnumberMaximum number of tasks to return (default: 10, max: 25).
teamIdstringThe Team identifier to perform the request on behalf of.
slugstringThe Team slug to perform the request on behalf of.

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": "vercel_api__get_vercel_ci_task_logs",
  "arguments": {
    "invocationId": "…",
    "attempt": "…"
  }
}

Or connect the Vercel API server directly, which lists 472 tools including this one:

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

Try asking

Use the get log lines for the tasks of an invocation attempt tool with invocationId set to ….

More from Vercel API