{"openapi":"3.1.0","info":{"title":"Cloudflare Load Balancing (BYOK) API","version":"0.1.0","description":"Cloudflare Load Balancing (BYOK) lets an AI assistant read your own Cloudflare Load Balancing data through the Cloudflare Load Balancing API with a key you supply (Cloudflare API token with Load Balancers read permission). Read-only: 9 tools (list_load_balancers, get_load_balancer, list_pools, get_pool, get_pool_health, list_pool_references, list_monitors, get_monitor, list_monitor_groups). The...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-cloudflare-load-balancing.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-cloudflare-load-balancing/docs"},"termsOfService":"https://connectorbay.com/byok-cloudflare-load-balancing/terms"},"servers":[{"url":"https://byok-cloudflare-load-balancing.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-cloudflare-load-balancing/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_load_balancers":{"post":{"operationId":"list_load_balancers","summary":"List account-level load balancers with hostname, steering policy, TTL, session affinity, default and fallback pools. Use","description":"List account-level load balancers with hostname, steering policy, TTL, session affinity, default and fallback pools. Use for \"Which load balancers do I have and how do they steer traffic\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL, or from the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"}},"required":["account_id"],"title":"list_load_balancersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_load_balancer":{"post":{"operationId":"get_load_balancer","summary":"Get one load balancer: name, steering policy, TTL, session affinity, pools and whether it is proxied. Use for \"Show the ","description":"Get one load balancer: name, steering policy, TTL, session affinity, pools and whether it is proxied. Use for \"Show the settings of load balancer www.example.com\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL, or from the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"load_balancer_id":{"description":"Load balancer id (32-character hex string), as returned by list_load_balancers.","maxLength":64,"title":"Load Balancer Id","type":"string"}},"required":["account_id","load_balancer_id"],"title":"get_load_balancerArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_pools":{"post":{"operationId":"list_pools","summary":"List origin pools with name, enabled flag, minimum origins, monitor and checking regions. Origin addresses are returned ","description":"List origin pools with name, enabled flag, minimum origins, monitor and checking regions. Origin addresses are returned in get_pool. Use for \"Which origin pools are enabled\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL, or from the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"monitor":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"Only pools that use this monitor id.","title":"Monitor"}},"required":["account_id"],"title":"list_poolsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_pool":{"post":{"operationId":"get_pool","summary":"Get one origin pool including its origins (name, address, weight, enabled flag). Use for \"Which origins are in pool eu-p","description":"Get one origin pool including its origins (name, address, weight, enabled flag). Use for \"Which origins are in pool eu-pool\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL, or from the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"pool_id":{"description":"Pool id (32-character hex string), as returned by list_pools.","maxLength":64,"title":"Pool Id","type":"string"}},"required":["account_id","pool_id"],"title":"get_poolArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_pool_health":{"post":{"operationId":"get_pool_health","summary":"Get the current health of a pool per Cloudflare data center: healthy flag and per-origin results. Use for \"Is pool eu-po","description":"Get the current health of a pool per Cloudflare data center: healthy flag and per-origin results. Use for \"Is pool eu-pool healthy right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL, or from the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"pool_id":{"description":"Pool id (32-character hex string), as returned by list_pools.","maxLength":64,"title":"Pool Id","type":"string"}},"required":["account_id","pool_id"],"title":"get_pool_healthArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_pool_references":{"post":{"operationId":"list_pool_references","summary":"List the load balancers and other resources that use a pool. Use for \"Which load balancers use pool eu-pool\".","description":"List the load balancers and other resources that use a pool. Use for \"Which load balancers use pool eu-pool\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL, or from the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"pool_id":{"description":"Pool id (32-character hex string), as returned by list_pools.","maxLength":64,"title":"Pool Id","type":"string"}},"required":["account_id","pool_id"],"title":"list_pool_referencesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_monitors":{"post":{"operationId":"list_monitors","summary":"List health monitors with check type, method, path, port, interval, timeout, retries and expected status codes. Use for ","description":"List health monitors with check type, method, path, port, interval, timeout, retries and expected status codes. Use for \"How often do my load balancer health checks run\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL, or from the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"}},"required":["account_id"],"title":"list_monitorsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_monitor":{"post":{"operationId":"get_monitor","summary":"Get one health monitor with its type, probe path, expected codes and thresholds. Use for \"What does monitor f1aba936 che","description":"Get one health monitor with its type, probe path, expected codes and thresholds. Use for \"What does monitor f1aba936 check\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL, or from the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"monitor_id":{"description":"Monitor id (32-character hex string), as returned by list_monitors.","maxLength":64,"title":"Monitor Id","type":"string"}},"required":["account_id","monitor_id"],"title":"get_monitorArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_monitor_groups":{"post":{"operationId":"list_monitor_groups","summary":"List monitor groups, which combine several monitors into one health decision, with their member monitors and flags. Use ","description":"List monitor groups, which combine several monitors into one health decision, with their member monitors and flags. Use for \"Do I use monitor groups for load balancing\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL, or from the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"per_page":{"anyOf":[{"maximum":100,"minimum":5,"type":"integer"},{"type":"null"}],"default":25,"description":"How many results per page (5 to 100).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1; result_info.total_count says how many exist.","title":"Page"}},"required":["account_id"],"title":"list_monitor_groupsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}