Update spool
update_spoolAdjust or remove a filament spool in local inventory: set remaining grams, subtract grams used by a finished print, edit notes, or change its filament preset.
Instructions
Change a spool in the local inventory: set what's left, subtract a finished print, edit notes, or remove it.
use_g subtracts each time it is called, so don't repeat it for the same print. remove=true deletes the spool record permanently. Returns the updated spool.
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": {
"spool_id": "<spool_id>"
},
"name": "update_spool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Replace the spool's notes. | |
| use_g | No | Subtract grams used by a finished print. | |
| remove | No | Delete the spool from the inventory. | |
| spool_id | Yes | Spool id from list_spools or add_spool. | |
| remaining_g | No | Set grams left, e.g. after weighing the spool. | |
| filament_preset | No | Set the filament preset to print it with. |