{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Enables or disables Local Uploads for an R2 bucket in the default jurisdiction. When enabled, object data is written near the client before being asynchronously copied to the bucket's primary region. Disabling Local Uploads allows existing replication to finish.","properties":{"path":{"type":"object","properties":{"bucket_name":{"$ref":"#/definitions/r2_bucket_name"},"account_id":{"$ref":"#/definitions/r2_account_identifier"}},"required":["bucket_name","account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"enabled":{"description":"Whether to enable local uploads for this bucket.","type":"boolean"}},"required":["enabled"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"r2_bucket_name":{"description":"Name of the bucket.","type":"string","maxLength":64,"minLength":3,"pattern":"^[a-z0-9][a-z0-9-]*[a-z0-9]","examples":["example-bucket"]},"r2_account_identifier":{"description":"Cloudflare account ID that owns the R2 resource.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]}}},"name":"Set Local Uploads Configuration","id":"cloudflare.r2-put-bucket-local-uploads-configuration","example":{"path":{"bucket_name":"example-bucket","account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"enabled":false}},"maxRequests":1,"summary":false}}