List resize presets
list_templatesUse this when the user wants to list existing Imagelato resize and format presets, optionally scoped to one project. Returns each template's id, name, project, output formats and pixel widths, 25 per page by default. Not for the images processed with them.
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": "list_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per page, from 1 to 100; defaults to 25 | |
| cursor | No | The nextCursor of the previous page with the same filters; absent for the first page | |
| projectId | No | Only presets in this project; every project when absent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total | Yes | Matching records across all pages | |
| hasMore | Yes | ||
| nextCursor | Yes | Cursor for the next page; null on the last page |