{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Lists background jobs for an R2 bucket, including prefix-delete (and bucket-emptying)\njobs and storage-class migration jobs. Jobs of every type are returned unless `jobType`\nis provided.\n","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/r2_account_identifier"},"bucket_name":{"$ref":"#/definitions/r2_bucket_name"}},"required":["account_id","bucket_name"],"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},"query":{"type":"object","properties":{"jobType":{"type":"string","enum":["prefixDelete","storageClassMigration"],"description":"Restricts results to jobs of the specified type."},"status":{"$ref":"#/definitions/r2_r2_bucket_job_status","description":"Restricts results to jobs with the specified status. `jobType` is required when this parameter is provided."},"maxKeys":{"type":"integer","maximum":1000,"minimum":0,"description":"Maximum number of jobs to return."},"continuationToken":{"type":"string","description":"Pagination token received as `nextContinuationToken` in the previous response."}},"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"]},"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_r2_bucket_job_status":{"description":"Lifecycle status of a bucket background job.","type":"string","enum":["ENQUEUED","RUNNING","COMPLETED","FAILED","CANCELLED"]}}},"name":"List Bucket Jobs","id":"cloudflare.r2-list-bucket-jobs","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","bucket_name":"example-bucket"}},"maxRequests":1,"summary":false}}