Home / Servers / Netlify API / agent_runner_pull_request
Open a pull request from an agent run
An MCP tool from the Netlify API server, hosted on mcp.hjlabs.in.
Open a pull request from an agent run Queues a pull request for the run's diff (result_diff). The pull request is created in the background, so pr_url is usually not set yet in the response: pr_is_being_created is true until it… [POST /agent_runners/{agent_runner_id}/pull_request]
Name on the gateway: netlify_api__agent_runner_pull_request · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
agent_runner_id required | string | agent_runner_id 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_pull_request",
"arguments": {
"agent_runner_id": "…"
}
}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 open a pull request from an agent run tool with agent_runner_id set to ….