{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Lists a page of R2 buckets in the account and selected jurisdiction. Use the returned cursor to retrieve the next page.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/r2_account_identifier"}},"required":["account_id"],"additionalProperties":false},"query":{"type":"object","properties":{"name_contains":{"description":"Bucket names to filter by. Only buckets with this phrase in their name will be returned.","type":"string","examples":["my-bucket"]},"start_after":{"description":"Bucket name to start searching after. Buckets are ordered lexicographically.","type":"string","examples":["my-bucket"]},"per_page":{"description":"Maximum number of buckets to return in a single call.","type":"number","default":20,"maximum":1000,"minimum":1},"order":{"description":"Field to order buckets by.","type":"string","enum":["name"]},"direction":{"description":"Direction to order buckets.","type":"string","enum":["asc","desc"],"examples":["desc"]},"cursor":{"description":"Pagination cursor received during the last List Buckets call. R2 buckets are paginated using cursors instead of page numbers.","type":"string"}},"required":[],"additionalProperties":false},"headers":{"type":"object","properties":{"cf-r2-jurisdiction":{"type":"string","default":"default","enum":["default","eu","us","fedramp","fedramp-high"],"description":"Jurisdiction where objects in this bucket are guaranteed to be stored."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false,"definitions":{"r2_account_identifier":{"description":"Cloudflare account ID that owns the R2 resource.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]}}},"name":"List Buckets","id":"cloudflare.r2-list-buckets","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"}},"maxRequests":1,"summary":false}}