{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a remotely or locally managed Cloudflare Tunnel in an account. After creation, retrieve its token and run cloudflared to establish the connector connection.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/tunnel_account_id"}},"required":["account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"config_src":{"allOf":[{"$ref":"#/definitions/tunnel_config_src"}]},"name":{"$ref":"#/definitions/tunnel_tunnel_name"},"tunnel_secret":{"$ref":"#/definitions/tunnel_tunnel_secret"}},"required":["name"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"tunnel_account_id":{"description":"Cloudflare account ID","type":"string","maxLength":32,"examples":["699d98642c564d2e855e9661899b7252"]},"tunnel_config_src":{"description":"Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel on the Zero Trust dashboard.","type":"string","default":"local","enum":["local","cloudflare"],"examples":["cloudflare"]},"tunnel_tunnel_name":{"description":"A user-friendly name for a tunnel.","type":"string","examples":["blog"]},"tunnel_tunnel_secret":{"description":"Sets the password required to run a locally-managed tunnel. Must be at least 32 bytes and encoded as a base64 string.","type":"string","examples":["AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg="]}}},"name":"Create a Cloudflare Tunnel","id":"cloudflare.cloudflare-tunnel-create-a-cloudflare-tunnel","example":{"path":{"account_id":"699d98642c564d2e855e9661899b7252"},"body":{"name":"blog"}},"maxRequests":1,"summary":false}}