Home / Servers / GitHub API / agent_automations_create_repo_automation_task
Run an automation
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Run an automation > [!NOTE] > This endpoint is in public preview and is subject to change. Runs an automation in a repository. Set event to manual and optionally include context of up to 10,000 characters, which will… [POST /agents/repos/{owner}/{repo}/automations/{automation_id}/tasks]
Name on the gateway: github_api__agent_automations_create_repo_automation_task · may change things.
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. |
event required | manual | The event to trigger. Only manual is supported. |
context | string | Additional context for this automation run, up to 10,000 characters. Supported… |
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_create_repo_automation_task",
"arguments": {
"owner": "…",
"repo": "…",
"automation_id": "…",
"event": "…"
}
}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 run an automation tool with owner set to ….