Home / Servers / Netlify API / create_agent_runner_session

Start a follow-up agent run session

An MCP tool from the Netlify API server, hosted on mcp.hjlabs.in.

Start a follow-up agent run session Starts a follow-up session on the run. [POST /agent_runners/{agent_runner_id}/sessions]

Name on the gateway: netlify_api__create_agent_runner_session · may change things.

Parameters

NameTypeDescription
agent_runner_id requiredstringagent_runner_id parameter
promptstringUse the request body instead.
agentstringUse the request body instead.
modelstringUse the request body instead.
file_keysarrayUse the request body instead.
body_promptstringWhat the agent should do. Required.
body_agentstring
body_modelstringModel for the agent to use. Omit to let Netlify choose.
modenormal | asknormal (the default) changes code; ask answers questions without changing code.

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:

call_tool arguments
{
  "name": "netlify_api__create_agent_runner_session",
  "arguments": {
    "agent_runner_id": "…"
  }
}

Or connect the Netlify API server directly, which lists 188 tools including this one:

Run in your terminal
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 start a follow-up agent run session tool with agent_runner_id set to ….

More from Netlify API