update_spool_weight
Update the current weight of a filament spool to track material usage. Automatically adjusts spool status based on remaining weight.
Instructions
Update the current weight of an opened filament spool. Auto-updates status based on remaining weight.
Args: spool_id: The ID of the spool to update. current_weight: The current net filament weight in grams.
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>",
"current_weight": "<current_weight>"
},
"name": "update_spool_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spool_id | Yes | ||
| current_weight | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |