Home / Servers / GitHub API / agent_automations_list_repo_automation_tasks
List tasks for an automation in a repository
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
List tasks for an automation in a repository > [!NOTE] > This endpoint is in public preview and is subject to change. Returns a paginated list of tasks created by an automation in the specified repository. The automation must belong to that… [GET /agents/repos/{owner}/{repo}/automations/{automation_id}/tasks]
Name on the gateway: github_api__agent_automations_list_repo_automation_tasks · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
owner required | string | The account owner of the repository. The name is not case… |
repo required | string | The name of the repository. The name is not case sensitive. |
automation_id required | string | The unique identifier of the automation. |
per_page | integer | The number of results per page (max 100). |
page | integer | The page number of the results to fetch. |
sort | updated_at | created_at | The field to sort results by. Can be updated_at or created_at. |
direction | asc | desc | The direction to sort results. Can be asc or desc. |
state | string | Comma-separated list of task states to filter by. Can be any combination of… |
is_archived | boolean | Filter by archived status. When true, returns only archived tasks. When false… |
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": "github_api__agent_automations_list_repo_automation_tasks",
"arguments": {
"owner": "…",
"repo": "…",
"automation_id": "…"
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the list tasks for an automation in a repository tool with owner set to ….