Tool tree
A human-first demo storefront for the ToolForge WebMCP project.
Implementation
gradeNot graded
gradeNot graded
search_productsAnswer
Search the ToolForge catalog by product name, category, or description and show matching products on the page.
View tool JSON
{
"name": "search_products",
"kind": "answer",
"impl": "imperative",
"description": "Search the ToolForge catalog by product name, category, or description and show matching products on the page.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"description": "Words to search for, such as notebook, lighting, audio, or desk."
}
},
"required": [
"query"
],
"additionalProperties": false
}
}add_to_cartAction
Add a product from the ToolForge catalog to the shopping cart.
View tool JSON
{
"name": "add_to_cart",
"kind": "act",
"impl": "declarative",
"description": "Add a product from the ToolForge catalog to the shopping cart.",
"inputSchema": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"enum": [
"field-notebook",
"studio-mug",
"focus-headphones",
"task-lamp",
"daypack",
"desk-plant"
]
},
"quantity": {
"type": "number"
}
},
"required": [
"itemId",
"quantity"
]
}
}checkoutSensitive Action
Prepare a demo checkout for the current cart. A person must review and submit this form.
View tool JSON
{
"name": "checkout",
"kind": "transact",
"impl": "declarative",
"description": "Prepare a demo checkout for the current cart. A person must review and submit this form.",
"inputSchema": {
"type": "object",
"properties": {
"email": {
"type": "string",
"description": "you@example.com"
},
"note": {
"type": "string",
"description": "Anything we should know?"
}
},
"required": [
"email"
]
}
}