4 tools registered. Strongest in WebMCP use, weakest in human experience.
No agent run recorded yet.
// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });toggle_plan_favorite, home_list_cities, home_navigate_to_city, webmcp_get_page_summary<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="toggle_plan_favorite" tooldescription="...">
<!-- the same action, as UI -->
</form>{
"name": "toggle_plan_favorite",
"description": "Adds or removes a plan from the user's favorites. If the plan is already a favorite it will be removed; otherwise it will be added. Works on any page that shows plan cards (gallery or calendar view).",
"inputSchema": {
"additionalProperties": false,
"properties": {
"planId": {
"description": "The numeric plan ID to add or remove from favorites.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"planId"
],
"type": "object"
},
"annotations": {
"readOnlyHint": false
}
}// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });document.modelContext.dispatchEvent(new Event("toolchange"));{ name: "home_list_cities" /* short, unique, verb-based */ }toggle_plan_favorite, home_list_cities, home_navigate_to_city, webmcp_get_page_summary<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="toggle_plan_favorite" tooldescription="...">
<!-- the same action, as UI -->
</form>