Gallery Page
gallery_pageFetches a page of image thumbnails for the gallery display, using origin filters (generated, imported, all) to support pagination.
Instructions
Return a page of image thumbnails for the gallery UI.
App-only helper called by the gallery UI to load additional pages when the user paginates. Not intended for direct model invocation.
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": "gallery_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. | |
| origin | No | Which images to include. ``"generated"`` (default) shows images produced by ``generate_image``/``edit_image`` plus all pending generations (a pending generation always counts as generated). ``"imported"`` shows images brought in via upload/fetch/base64 ingestion. ``"all"`` shows both. | generated |
| page_size | No | Number of items per page (1-24, default 12). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |