flash_memory
Store and apply local, opt-out printing preferences, material habits, print outcomes, and corrections to personalize future FlashForge slicing decisions.
Instructions
Local, opt-out memory of the user's printing preferences and history. Status shows learned defaults, per-printer habits, materials, recent prints and corrections. set stores an explicit preference (defaultMachine, defaultMaterial, quality, supports, brim, infill, temps). learn attaches free-form facts to a printer or material. feedback marks a print success/failed/partial, adds notes and records corrections (e.g. supportTopZDistance=0.3 after supports fused) that later advise calls use. forget removes entries; export/import move the profile between machines. Stored at ~/.flashforge-mcp/memory.json; disable with FLASHFORGE_MCP_NO_MEMORY=1.
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": "flash_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | forget: entry to remove (printer name, material, print id). | |
| file | No | export/import: JSON file path. | |
| note | No | feedback: why the correction was needed. | |
| path | No | set: dotted path, e.g. "profile.defaultMaterial" or "profile.temps.petg.nozzle". | |
| notes | No | learn/feedback: free-form facts, e.g. "supports fused at 0.26 mm gap". | |
| No | feedback: "last" (default), 1-based index, or part of the output/mesh name. | ||
| value | No | set: value for `path`. | |
| action | No | status | |
| rating | No | feedback: optional quality rating. | |
| values | No | set: object of profile keys to values, e.g. {"defaultMaterial":"petg","brim":"auto"}. | |
| confirm | No | forget section=all requires confirm: true. | |
| machine | No | learn: printer to attach facts to. | |
| outcome | No | feedback: how the print actually ended. | |
| section | No | get/forget: profile|printers|materials|prints|corrections|all. | |
| material | No | learn: material to attach facts to (pla, petg, abs...). | |
| corrections | No | feedback: settings that fixed a problem, e.g. {"supportTopZDistance":0.3}. |