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
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
filter_v1 | object | The packet capture filter. When this field is… |
offset_time | string | The RFC 3339 offset timestamp from which to… |
packet_limit required | number | The limit of packets contained in a packet… |
system required | magic-transit | The system used to collect packet captures. |
time_limit required | number | The packet capture duration in seconds. |
type required | simple | full | The 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:
{
"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:
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 ….