Read your saved presets
get_presetsFree, read-only, needs a key. action list (default) returns only YOUR saved presets, not the 34 built-in ones: to browse built-in, community and your presets together use get_catalog kind presets (an empty list here just means you saved none). type custom (full caption styles from manage_preset, ids custom:cp_...) or brand (font, color, position and logo overlays); paginated with limit and cursor, response_format concise (default) or detailed. action get: any one preset with its full style by id, built-in (e.g. builtin:number-punch or number-punch), community or custom:cp_..., the same style JSON the web editor loads (use it as basePreset or copy and tweak it with manage_preset). action validate: check a style document (style, or basePreset + overrides) against the renderer schema before saving; returns valid, the normalized style or errors [{path, message}]. Built-in and community presets are listed by get_catalog kind presets.
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": "get_presets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Preset id: cp_... or custom:cp_... as returned by manage_preset {action:'create', type:'custom'} / get_presets {type:'custom'}. | |
| type | No | For list: custom (default) or brand presets. | |
| limit | No | Page size for the returned list, 1-100. Default 50. | |
| style | No | Full caption style document to validate. | |
| action | No | list (default), get (needs id) or validate (style, or basePreset + overrides). | |
| cursor | No | nextCursor from the previous page. Omit for the first page. | |
| overrides | No | Fields deep-merged on top of basePreset before validating. | |
| basePreset | No | Validate basePreset + overrides instead of a full style (custom:cp_... bases need a key). | |
| response_format | No | concise (default): short list items without nested style/example objects, to save tokens. detailed: full objects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | Total number of items (paginated lists). | |
| result | No | The value, when the tool returns something other than an object. | |
| hasMore | No | true when more items are available (paginated lists). | |
| nextCursor | No | Pass as cursor for the next page (paginated lists). |