Tool tree
AgentCart: WebMCP E-Commerce
Implementation
gradeNot graded
gradeNot graded
search_productsAnswer
Search the product catalog by keyword or maximum price.
View tool JSON
{
"name": "search_products",
"kind": "answer",
"impl": "imperative",
"description": "Search the product catalog by keyword or maximum price.",
"inputSchema": {
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "Search term (e.g., 'coffee')"
},
"maxPrice": {
"type": "number",
"description": "Maximum price in dollars"
}
}
}
}add_to_cartAction
Add a product to the user's shopping cart using its ID.
View tool JSON
{
"name": "add_to_cart",
"kind": "act",
"impl": "imperative",
"description": "Add a product to the user's shopping cart using its ID.",
"inputSchema": {
"type": "object",
"properties": {
"product_id": {
"type": "number"
}
},
"required": [
"product_id"
]
}
}