Implementation
gradeNot graded
gradeNot graded
generate_placeholder_textAction
Generate placeholder copy and show it on the page. Latin reads as classic lorem ipsum; English is business-speak, which is better for judging whether a layout survives the text it will really hold.
View tool JSON
{
"name": "generate_placeholder_text",
"kind": "act",
"impl": "imperative",
"description": "Generate placeholder copy and show it on the page. Latin reads as classic lorem ipsum; English is business-speak, which is better for judging whether a layout survives the text it will really hold.",
"inputSchema": {
"type": "object",
"properties": {
"lang": {
"type": "string",
"enum": [
"latin",
"english"
],
"description": "Vocabulary to draw from"
},
"sentences": {
"type": "integer",
"description": "Sentences per paragraph. -1 picks 1-5 at random"
},
"paragraphs": {
"type": "integer",
"description": "How many paragraphs"
},
"seed": {
"type": "integer",
"description": "Omit for fresh copy; set for repeatable output"
}
}
},
"page": "/webmcp-playground/"
}search_productsAnswer
Search the products this page describes. Combine free text with filters. Returns a compact summary of each match, including a variant count where a product has options; use get_product for the full record.
View tool JSON
{
"name": "search_products",
"kind": "answer",
"impl": "imperative",
"description": "Search the products this page describes. Combine free text with filters. Returns a compact summary of each match, including a variant count where a product has options; use get_product for the full record.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 200,
"description": "Free text matched against name, description, SKU, brand and category"
},
"category": {
"type": "string",
"description": "Exact category",
"enum": [
"Accessories",
"Apparel"
]
},
"brand": {
"type": "string",
"description": "Exact brand",
"enum": [
"Mach Five Tech"
]
},
"availability": {
"type": "string",
"description": "Stock status",
"enum": [
"InStock",
"OutOfStock"
]
},
"maxPrice": {
"type": "number",
"minimum": 0,
"description": "Only products at or below this price"
},
"minPrice": {
"type": "number",
"minimum": 0,
"description": "Only products at or above this price"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10,
"description": "Maximum results (default 10, max 50)"
},
"offset": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "Skip this many matches, for paging"
}
}
},
"page": "/webmcp-playground/"
}search_catalogAnswer
Find products by keyword in this page's demo catalogue
View tool JSON
{
"name": "search_catalog",
"kind": "answer",
"impl": "imperative",
"description": "Find products by keyword in this page's demo catalogue",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search term"
},
"limit": {
"type": "integer",
"description": "Max results"
}
},
"required": [
"query"
]
},
"page": "/webmcp-playground/"
}