WebMCP tools
This is the WebMCP tools page. The page registers add, multiply, greet, and cart tools. An agent calls them by name. The buttons run the same functions.
Registering WebMCP tools…
Registered on this WebMCP page
- add —
{ a: 2, b: 40 }returns42. - multiply —
{ a: 6, b: 7 }returns42. - greet —
{ name: "Srini" }returnsHello, Srini. - cart_add —
{ item: "notebook", quantity: 2 }. - cart_summary —
{}lists the cart and its total. - navigate —
{ path: "actions.html" }. go_back and go_forward take{}.
Cart
Cart is empty.
What just ran
Nothing yet.