Prepare a bucket object inventory
List all files under [folder prefix] in R2 bucket [bucket]. Group them by folder and keep full file names and available sizes.
Leina connects to Cloudflare R2 to help you organize stored files, retrieve objects, and review bucket settings. Ask in your team chat. Leina does the work and brings back the result.
Connect Cloudflare R2, choose what to share, and hand off your first task.
You
Inventory files under releases/autumn/ in my assets bucket. Group artwork and documents, and keep their full storage names.
Leina
I organized the release files into artwork and documents.
R2 · File inventory
Autumn release assets
Files grouped within the requested release folder.
A Cloudflare R2 AI agent inventories files, retrieves selected objects, and uploads supplied content to the bucket and destination you choose.
You specify the source and the destination. Leina uses the content available to your connection and returns the result for you to review.
Cloudflare R2 stores files and other objects in cloud storage buckets.
Provide the bucket and folder prefix.
Read the files within the selected scope.
Keep complete object names for retrieval.
Copy a prompt, add your details, and send it to Leina in your connected team chat.
List all files under [folder prefix] in R2 bucket [bucket]. Group them by folder and keep full file names and available sizes.
Download [file name] from R2 bucket [bucket] and give me a download link.
Your next Cloudflare R2 task can start with a message.
Tell Leina what you need in your team chat. Include the source, destination, and expected result.
Connect the tools involved and give Leina access to the content it needs.
Share the source material, say where the result belongs, and describe what you need.
Review the result and any changes in the connected app.
Hand off these everyday tasks to your AI employee.
List Cloudflare accounts visible to the current credential.
List the R2 buckets in a Cloudflare account.
Get one R2 bucket by name.
Download one R2 object and upload it to connector transit storage.
Create an R2 bucket in a Cloudflare account.
Update mutable R2 bucket properties such as default storage class or jurisdiction.
Delete an R2 bucket by name.
Fetch the bucket-level CORS policy for an R2 bucket.
Replace the bucket-level CORS policy for an R2 bucket.
Delete the bucket-level CORS policy for an R2 bucket.
Upload one R2 object from a public URL, plain text, or base64-encoded content.
Generate a pre-signed R2 URL for one GET, PUT, or HEAD request using a custom API token credential.
List objects in an R2 bucket with optional prefix, delimiter grouping, and cursor pagination.
Delete one R2 object by key.
Delete a list of R2 objects by key in one request.
Start a background job that deletes every object under a key prefix, or empties the whole bucket.
List background jobs for an R2 bucket, such as prefix delete jobs.
Get the current status of one R2 bucket background job.
List the custom domains attached to an R2 bucket.
Get the settings of one custom domain attached to an R2 bucket.
Attach a custom domain from a Cloudflare zone to an R2 bucket.
Update the public access, TLS version, or cipher settings of a custom domain.
Detach a custom domain from an R2 bucket.
Get the r2.dev managed domain and its public access state for an R2 bucket.
Enable or disable public access to an R2 bucket through its r2.dev domain.
Get the object lifecycle rules of an R2 bucket.
Replace the object lifecycle rules of an R2 bucket with the given rule set.
Get the object lock rules of an R2 bucket.
Replace the object lock rules of an R2 bucket with the given rule set.
Get whether local uploads are enabled, which writes objects to the nearest region before replicating to the primary region.
Enable or disable local uploads for an R2 bucket.
Get the Sippy incremental migration configuration of an R2 bucket.
Enable Sippy so that objects missing from the R2 bucket are copied on demand from a source bucket on AWS S3, Google Cloud Storage, an S3-compatible service, or Azure Blob Storage.
Disable Sippy on an R2 bucket.
List every event notification rule of an R2 bucket grouped by target queue.
Get the event notification rules that send R2 bucket events to one queue.
Add event notification rules that send R2 bucket events to a Cloudflare Queue.
Delete event notification rules bound to one queue. Deletes every rule for the queue when ruleIds is omitted.
Get object count and storage usage metrics across all R2 buckets in the account. Metrics may lag behind the latest data.
Create short-lived S3-compatible credentials scoped to one R2 bucket and optionally to prefixes or objects.
Connect the Apps your work depends on, and give Leina the context to carry the task forward.
Hand off a task while your team is discussing it. Leina uses your connected tools and brings the result back to the conversation.
See How Leina Works in SlackI organized the release files into artwork and documents.
Yes. Provide the bucket name and the beginning of the file names you want to include.
No. Downloads use temporary links; save the file while the link is available.
Yes. Ask to review bucket lifecycle and lock rules before deciding whether to change them.
Start with one task you already need to do. Tell Leina what a finished result should look like.
Connect Cloudflare R2, choose what to share, and hand off your first task.