{"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]$"},"domain":{"type":"string","title":"Custom domain","minLength":1,"maxLength":2000,"pattern":"^[A-Za-z0-9.-]{1,253}$"},"configurationJson":{"type":"string","title":"Cloudflare custom-domain configuration (JSON object)","minLength":1,"maxLength":64000}},"required":["bucketName","domain","configurationJson"],"additionalProperties":false},"name":"Update a custom domain","id":"r2.configureCustomDomain","example":{"bucketName":"example-bucket","domain":"assets.example.com","configurationJson":"{\"enabled\":true}"},"maxRequests":1,"summary":false}}