Cloudflare

Learn how to use Cloudflare with Composio

Overview

Enum

CLOUDFLARE

Description

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

Authentication Details

auth_email
stringRequired
auth_key
stringRequired

Actions

Tool to create a new dns record within a specific zone. use after obtaining the zone id to programmatically add dns entries.

Action Parameters

comment
string
content
stringRequired
data
object
name
stringRequired
priority
integer
proxied
boolean
tags
array
ttl
integer
type
stringRequired
zone_identifier
Required

Action Response

data
object
error
string
successful
boolean
Tool to create a new empty waf list for the account. use after confirming the account id. example: create list(account id="<id>", kind="ip", name="blocklist")

Action Parameters

account_id
stringRequired
description
string
kind
stringRequired
name
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to create a new zone. use after confirming account id when adding a domain to cloudflare.

Action Parameters

account
objectRequired
jump_start
boolean
name
stringRequired
type
stringDefaults to full

Action Response

data
object
error
string
successful
boolean
Tool to delete a dns record within a specific zone. use after confirming zone and record ids. example: "delete dns record 372e6795... from zone 023e105f4ecef..."

Action Parameters

identifier
Required
zone_identifier
Required

Action Response

data
object
error
string
successful
boolean
Tool to delete a waf list. use when you need to remove a list after verifying no filters reference it. example: delete list(account id="<account id>", list id="<list id>")

Action Parameters

account_id
stringRequired
list_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to delete a zone. use after confirming the zone identifier to permanently remove a dns zone from your cloudflare account. example: delete zone(zone identifier="023e105f4ecef8ad9ca31a8372d0c353")

Action Parameters

zone_identifier
Required

Action Response

data
object
error
string
successful
boolean
Tool to fetch all waf lists (no items) for an account. use after confirming account id.

Action Parameters

account_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list all accounts accessible to the user. use when you need to enumerate cloudflare accounts for selection or auditing.

Action Parameters

direction
string
name
string
page
integerDefaults to 1
per_page
integerDefaults to 20

Action Response

data
object
error
string
successful
boolean
Tool to list members of a given cloudflare account. use after confirming the account id.

Action Parameters

account_id
stringRequired
direction
string
order
string
page
integerDefaults to 1
per_page
integer
status
string

Action Response

data
object
error
string
successful
boolean
Tool to list firewall rules for a specific zone. use after confirming the zone id to retrieve and audit current firewall rules.

Action Parameters

direction
string
match
string
order
string
page
integer
per_page
integer
zone_id
Required

Action Response

data
object
error
string
successful
boolean
Tool to list all load-balancer monitors in a cloudflare account. use after creating or updating monitors to retrieve a paginated list.

Action Parameters

account_id
stringRequired
direction
string
order
string
page
integer
per_page
integer

Action Response

data
object
error
string
successful
boolean
Tool to list all load balancer pools in a cloudflare account. use after confirming account id to discover pool ids.

Action Parameters

account_id
Required
direction
string
name
string
order
string
page
integer
per_page
integer

Action Response

data
object
error
string
successful
boolean
This tool lists, searches, sorts, and filters your zones.

Action Parameters

account
object
direction
string
match
stringDefaults to all
name
string
order
string
page
integerDefaults to 1
per_page
integerDefaults to 20
status
string

Action Response

data
object
error
string
successful
boolean
Tool to update an existing dns record within a specific zone. use after confirming both zone and record identifiers; only provided fields are modified.

Action Parameters

content
stringRequired
data
object
identifier
Required
name
stringRequired
priority
integer
proxied
boolean
ttl
integer
type
stringRequired
zone_identifier
Required

Action Response

data
object
error
string
successful
boolean
Tool to update the description of a waf list (cannot update items). use after confirming list metadata.

Action Parameters

account_id
stringRequired
description
stringRequired
list_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to update properties of an existing zone. use after confirming the zone id; only one field can be modified per call.

Action Parameters

paused
boolean
type
string
vanity_name_servers
array
zone_id
stringRequired

Action Response

data
object
error
string
successful
boolean