Find a stand-in on your shelf
find_substitutesUse this when the user lacks a material in a formula, or asks what they could use instead from the materials they own: the app's Find on shelf for one line, with single bottles and two- or three-bottle blends from the shelf that can play that material's part, best first, with a match percent and what each carries or misses. Never offers an IFRA-prohibited material. Changes nothing; use_substitute swaps one in.
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. |