Home / Servers / Netlify API / agent_runner_commit_to_branch
Commit an agent run's changes to a branch
An MCP tool from the Netlify API server, hosted on mcp.hjlabs.in.
Commit an agent run's changes to a branch Queues a commit of the run's diff to target_branch. The commit is made in the background: merge_commit_is_being_created is true until it finishes. Poll getAgentRunner until merge_commit_sha or… [POST /agent_runners/{agent_runner_id}/commit]
Name on the gateway: netlify_api__agent_runner_commit_to_branch · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
agent_runner_id required | string | agent_runner_id parameter |
target_branch required | string | target_branch parameter |
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": "netlify_api__agent_runner_commit_to_branch",
"arguments": {
"agent_runner_id": "…",
"target_branch": "…"
}
}Or connect the Netlify API server directly, which lists 188 tools including this one:
claude mcp add --transport http hj-netlify-api https://mcp.hjlabs.in/mcp/netlify-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the commit an agent run's changes to a branch tool with agent_runner_id set to ….