Home / Servers / Netlify API / stop_agent_runner_session
Stop an agent run session
An MCP tool from the Netlify API server, hosted on mcp.hjlabs.in.
Stop an agent run session Stops the session. Stopping happens in the background. [POST /agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}/stop]
Name on the gateway: netlify_api__stop_agent_runner_session · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
agent_runner_id required | string | agent_runner_id parameter |
agent_runner_session_id required | string | agent_runner_session_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__stop_agent_runner_session",
"arguments": {
"agent_runner_id": "…",
"agent_runner_session_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 stop an agent run session tool with agent_runner_id set to ….