buildx_du
Report BuildKit cache disk usage by listing cache records. Optionally specify a builder.
Instructions
Report BuildKit cache disk usage as a list of records.
A large cache can easily generate more output than MAX_CLI_OUTPUT_BYTES; if that
happens the captured stdout is truncated and this tool drops the final (partial)
record before parsing. For an exhaustive accounting on a busy builder, run
docker buildx du --format '{{json .}}' on the host directly.
args: builder - Override the active builder
returns: list - One dict per cache record (parsed from --format '{{json .}}')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| builder | No |