Home / Servers / Cloudflare API / account_request_tracer_request_trace

Request Trace

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

Request Trace Traces a simulated HTTP request through Cloudflare's edge to analyze how rules, settings, and… [POST /accounts/{account_id}/request-tracer/trace]

Name on the gateway: cloudflare_api__account_request_tracer_request_trace · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
bodyobject
contextobjectAdditional request parameters
cookiesobjectCookies added to tracing request
headersobjectHeaders added to tracing request
method requiredstringHTTP Method of tracing request
protocolstringHTTP Protocol of tracing request
skip_responsebooleanSkip sending the request to the Origin server…
url requiredstringURL to which perform tracing request

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": "cloudflare_api__account_request_tracer_request_trace",
  "arguments": {
    "account_id": "…",
    "method": "…",
    "url": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the request trace tool with account_id set to ….

More from Cloudflare API