5 tools registered. Strongest in usefulness, weakest in human experience.
No agent run recorded yet.
// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });search-events, get-event-details, get-categories, get-places, get-events-by-place<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="search-events" tooldescription="...">
<!-- the same action, as UI -->
</form>{
"name": "search-events",
"description": "Search for cultural events in Catalonia by keyword. Returns a list of matching events with title, date, location, and URL.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search keywords (e.g. jazz Barcelona)"
},
"page": {
"type": "integer",
"description": "Page number (0-indexed, default 0)"
},
"size": {
"type": "integer",
"description": "Results per page (default 15, max 50)"
}
},
"required": [
"query"
]
},
"annotations": {
"readOnlyHint": true
}
}// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });document.modelContext.dispatchEvent(new Event("toolchange"));search-events, get-event-details, get-categories, get-places, get-events-by-place<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="search-events" tooldescription="...">
<!-- the same action, as UI -->
</form>