Flatten a preset inheritance chain
bambu_resolve_presetFlattens a BambuStudio preset's inherits chain into complete settings and records each value's source level, so you can retrieve actual parameter values instead of relying on sparse leaf files.
Instructions
Flattens a preset's inherits chain into the complete settings and records which level each value comes from. A BambuStudio leaf preset usually declares only a few dozen keys and inherits everything else from its parents, so to know the real value of any parameter you must look at the flattened result, not the leaf preset file. Use this whenever you need an actual setting value. No side effects.
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": "bambu_resolve_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Return only these parameters. Omit to return all of them (a process preset has about 200 keys). | |
| kind | Yes | ||
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| origin | Yes | ||
| settings | Yes | ||
| provenance | Yes | Which level of the inheritance chain each key actually comes from. Machine G-code may come from that level's template entry, named like "<preset> template machine_start_gcode". | |
| settingCount | Yes | ||
| inheritanceChain | Yes | The inheritance chain, from the leaf preset to the root. |