{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","properties":{"bucketName":{"type":"string","title":"Bucket name","minLength":1,"maxLength":2000,"pattern":"^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$"},"configurationJson":{"type":"string","title":"Cloudflare custom-domain configuration (JSON object)","minLength":1,"maxLength":64000}},"required":["bucketName","configurationJson"],"additionalProperties":false},"name":"Attach a custom domain","id":"r2.attachCustomDomain","example":{"bucketName":"example-bucket","configurationJson":"{\"domain\":\"assets.example.com\"}"},"maxRequests":1,"summary":false}}