Find Sensory Substitutes
find_sensory_substitutesFind ingredient substitutes when an item is unavailable in a user’s area; returns compound-match scores and a bounded prompt for host-model analysis of gaps.
Instructions
Find ingredient substitutions from the bundled compound dataset and provide a bounded host-model prompt for missing analysis. Returns substitute candidates with compound-match scores and a promptForAgent for the host model. Use when an ingredient is unavailable in the user location. Pass ingredient from the item to substitute and location from the user area.
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": {
"ingredient": "<ingredient>",
"location": "<location>"
},
"name": "find_sensory_substitutes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | User's location for availability context | |
| ingredient | Yes | The original ingredient to substitute |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| note | No | ||
| location | Yes | ||
| ingredient | Yes | ||
| substitutes | No | ||
| promptForAgent | Yes | ||
| regionalAvailability | No |