Swap in a stand-in
use_substituteUse this when the user picks one of find_substitutes' suggestions: replaces the line with it (pass its member names), in place, with the app's own amounts, the same smell carried through each bottle's dilution, merged into a line that already holds that bottle.
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": {
"formula": "<formula>",
"line": "<line>",
"members": "<members>"
},
"name": "use_substitute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | The line: its material name or line id. | |
| formula | Yes | The formula: its id (from list_formulas) or its exact name. | |
| members | Yes | The suggestion's member names. |