> ## Documentation Index
> Fetch the complete documentation index at: https://docs.boxd.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Cloudflare

> Cloudflare is a global network designed to make everything you connect to the Internet secure, private, fast, and reliable

Cloudflare is a global network designed to make everything you connect to the Internet secure, private, fast, and reliable.

`cloudflare` · **20 tools** · no triggers

## Connect it

```bash theme={"theme":"github-dark"}
run auth cloudflare
run auth cloudflare --scope team    # shared with the organization
```

Or from the [Integrations page](https://app.boxd.sh/integrations) in the console. See [Connections](/guides/integrations/connections) for personal versus shared, and who may remove one.

## Use it

```bash theme={"theme":"github-dark"}
run cloudflare          # common commands
run cloudflare --all    # every command
```

```ts theme={"theme":"github-dark"}
import { cloudflare } from "@boxd/run";
```

## Common tools

| Tool                          | What it does                                                                                                                                           |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `create-dns-record`           | Tool to create a new DNS record within a specific zone. Requires write privileges and makes live changes to the zone.                                  |
| `create-list`                 | Create a new empty custom list for use in WAF rules and filters.                                                                                       |
| `create-zone`                 | Creates a new DNS zone (domain) in Cloudflare. A zone represents a domain and its DNS records.                                                         |
| `delete-dns-record`           | Tool to delete a DNS record within a specific zone. Deletion is immediate and irreversible.                                                            |
| `delete-list`                 | Tool to delete a WAF list. Use when you need to remove a list after verifying no filters reference it.                                                 |
| `delete-zone`                 | Tool to delete a zone. Use after confirming the zone identifier to permanently remove a DNS zone and all its DNS records from your Cloudflare account. |
| `get-bot-management-settings` | Tool to retrieve a zone's Bot Management configuration (Bot Fight Mode / Super Bot Fight Mode / Enterprise Bot Management).                            |
| `get-lists`                   | Tool to fetch all WAF lists (no items) for an account. Results are paginated; iterate using page and per\_page parameters until...                     |
| `list-account-members`        | Lists all members of a Cloudflare account with their roles, permissions, and status.                                                                   |
| `list-accounts`               | List all Cloudflare accounts you have ownership or verified access to.                                                                                 |
| `list-dns-records`            | Tool to list and search DNS records in a Cloudflare zone. Use when you need to find existing DNS record IDs for update or delete operations...         |
| `list-firewall-rules`         | Tool to list firewall rules for a specific DNS zone. Use after confirming the zone ID to retrieve and audit current firewall rules.                    |
| `list-monitors`               | Tool to list all load-balancer monitors in a Cloudflare account.                                                                                       |
| `list-pools`                  | Tool to list all load balancer pools in a Cloudflare account.                                                                                          |
| `list-tunnels`                | List Cloudflare Tunnel (cloudflared) tunnels in an account to discover tunnel IDs, names, and statuses.                                                |
| `list-zones`                  | Lists, searches, sorts, and filters zones in the authenticated account.                                                                                |
| `update-dns-record`           | Tool to update an existing DNS record within a specific zone.                                                                                          |
| `update-list`                 | Tool to update the description of a WAF list (cannot update items).                                                                                    |
| `update-tunnel-configuration` | Tool to update a remotely-managed Cloudflare Tunnel's configuration (ingress rules and routing).                                                       |
| `update-zone`                 | Tool to update properties of an existing zone; changes apply immediately to the live zone.                                                             |

<Accordion title="All 20 tools" icon="list">
  | Tool                          | What it does                                                                                                                                           |
  | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | `create-dns-record`           | Tool to create a new DNS record within a specific zone. Requires write privileges and makes live changes to the zone.                                  |
  | `create-list`                 | Create a new empty custom list for use in WAF rules and filters.                                                                                       |
  | `create-zone`                 | Creates a new DNS zone (domain) in Cloudflare. A zone represents a domain and its DNS records.                                                         |
  | `delete-dns-record`           | Tool to delete a DNS record within a specific zone. Deletion is immediate and irreversible.                                                            |
  | `delete-list`                 | Tool to delete a WAF list. Use when you need to remove a list after verifying no filters reference it.                                                 |
  | `delete-zone`                 | Tool to delete a zone. Use after confirming the zone identifier to permanently remove a DNS zone and all its DNS records from your Cloudflare account. |
  | `get-bot-management-settings` | Tool to retrieve a zone's Bot Management configuration (Bot Fight Mode / Super Bot Fight Mode / Enterprise Bot Management).                            |
  | `get-lists`                   | Tool to fetch all WAF lists (no items) for an account. Results are paginated; iterate using page and per\_page parameters until...                     |
  | `list-account-members`        | Lists all members of a Cloudflare account with their roles, permissions, and status.                                                                   |
  | `list-accounts`               | List all Cloudflare accounts you have ownership or verified access to.                                                                                 |
  | `list-dns-records`            | Tool to list and search DNS records in a Cloudflare zone. Use when you need to find existing DNS record IDs for update or delete operations...         |
  | `list-firewall-rules`         | Tool to list firewall rules for a specific DNS zone. Use after confirming the zone ID to retrieve and audit current firewall rules.                    |
  | `list-monitors`               | Tool to list all load-balancer monitors in a Cloudflare account.                                                                                       |
  | `list-pools`                  | Tool to list all load balancer pools in a Cloudflare account.                                                                                          |
  | `list-tunnels`                | List Cloudflare Tunnel (cloudflared) tunnels in an account to discover tunnel IDs, names, and statuses.                                                |
  | `list-zones`                  | Lists, searches, sorts, and filters zones in the authenticated account.                                                                                |
  | `update-dns-record`           | Tool to update an existing DNS record within a specific zone.                                                                                          |
  | `update-list`                 | Tool to update the description of a WAF list (cannot update items).                                                                                    |
  | `update-tunnel-configuration` | Tool to update a remotely-managed Cloudflare Tunnel's configuration (ingress rules and routing).                                                       |
  | `update-zone`                 | Tool to update properties of an existing zone; changes apply immediately to the live zone.                                                             |
</Accordion>

[Open Cloudflare in the console →](https://app.boxd.sh/integrations/detail/cloudflare)
