Read a preset's settings
get_presetReads a preset's merged settings so you can find exact setting keys and values to use as overrides for slicing, comparison, or saving.
Instructions
Read the effective settings of one preset, with its inheritance chain merged.
Use it to find the exact setting names to pass as overrides to slice_model, compare_slices or save_user_preset (search='infill' finds sparse_infill_density and friends). Values longer than 200 characters are elided unless you ask for them by keys. Returns {preset, source, inherits, settings}. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"kind": "<kind>"
},
"name": "get_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Exact setting keys to return in full, including long G-code templates. | |
| kind | Yes | 'machine', 'process' or 'filament'. | |
| name | Yes | Preset name, or a unique part of it, e.g. 'Anycubic PLA'. | |
| search | No | Only return settings whose key contains this text, e.g. 'infill', 'support', 'temp', 'retract'. | |
| printer | No | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |