resolve_item_to_add
Resolves ambiguous or natural-language item text by checking the master catalog and shopping list history, then returns a recommended action to add the item to a list.
Instructions
Resolve ambiguous or natural-language item text using the master catalog and shopping-list history before adding. Follow the recommendedAction. When no listId is provided, inspect suggestedTargets; high-confidence list history can produce a list-specific action.
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": {
"query": "<query>"
},
"name": "resolve_item_to_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum candidates to return; capped at 20 | |
| query | Yes | The user-provided item text to resolve | |
| listId | No | Optional target shopping list ID |