Expand description
The cart tool surface.
Structsยง
- AddArg
- AuthArg
store_idis optional here, unlike everywhere else: any store reports the sameuserInfo, and the caller most likely to reach for this tool is someone whose setup is not working, who may not have a store id to hand.- Auth
Status - Cart
Server - Default
Store Status - Remove
Arg - Search
Products Arg - Search
Stores Arg - SetDefault
Store Arg - Used by
set_default_store, where the store id is always required. - Start
Login Arg - Store
Arg - Used by tools whose only argument is a store id that may fall back to the default
(
get_cart,clear_cart). - Tool
Failure - A tool failure the model is meant to read and act on.
- Update
Arg