object_ls
List objects under a prefix in a MinIO bucket with a limit, and get a truncated flag to know when to re-run with a higher limit or narrower prefix.
Instructions
[READ] Objects under prefix in a truncation-aware envelope (never a full walk).
Returns {"objects": [...], "returned": N, "limit": L, "truncated": bool}. A bucket can hold millions of keys, so "truncated" being true is the normal case — say so and re-run with a higher limit or a narrower prefix instead of treating the page as the whole bucket. "lastModified" and "versionId" are null when the source had no value.
Args: bucket_name: Bucket name (from bucket_ls). prefix: Key prefix filter; empty for the whole bucket. limit: Maximum objects to return (default 100, max 1000). target: MinIO target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| prefix | No | ||
| target | No | ||
| bucket_name | Yes |