Home / Servers / Cloudflare API / magic_pcap_collection_create_pcap_request

Create PCAP request

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

Create PCAP request Create new PCAP request for account. [POST /accounts/{account_id}/pcaps]

Name on the gateway: cloudflare_api__magic_pcap_collection_create_pcap_request · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
filter_v1objectThe packet capture filter. When this field is…
offset_timestringThe RFC 3339 offset timestamp from which to…
packet_limit requirednumberThe limit of packets contained in a packet…
system requiredmagic-transitThe system used to collect packet captures.
time_limit requirednumberThe packet capture duration in seconds.
type requiredsimple | fullThe type of packet capture. Simple captures…

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__magic_pcap_collection_create_pcap_request",
  "arguments": {
    "account_id": "…",
    "packet_limit": 0,
    "system": "…",
    "time_limit": 0,
    "type": "…"
  }
}

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 create pcap request tool with account_id set to ….

More from Cloudflare API