List local images or search a registry
nas_docker_imagesList and filter local Docker images by name or status, and search a remote registry, to identify unused images by size for cleanup.
Instructions
source "local" (default) lists the images stored on the NAS (data.result[]), optionally filtered by name or status and sorted; image_size is a string holding bytes. To find what can be cleaned up, filter status "unused" and sort by size. source "registry" searches the remote image registry for name (data.search_image[]) and supports page and page_size. Images cannot be deleted through this server; the user has to do that in the Docker app on the NAS.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nas_docker_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name filter for "local"; the search term (required) for "registry". | |
| page | No | "registry" only: page number. | |
| order | No | Sort direction. | |
| source | No | Images on the NAS, or the remote registry. | local |
| status | No | "local" only: image states. | |
| sort_by | No | "local" only: sort key. | |
| page_size | No | "registry" only: results per page. |