2 tools registered. Strongest in usefulness, weakest in WebMCP use.
No agent run recorded yet.
// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });search_episodes: 1 parameter has no description (limit){
name: "search_episodes",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "What to search for" }
},
required: ["query"]
}
}search_episodes{
name: "search_episodes",
execute: async (args) => {
// Perform the real action here - return live data, not a static placeholder.
return result;
}
}search_episodes{
name: "search_episodes",
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true }
}search_episodes<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="search_episodes" tooldescription="...">
<!-- the same action, as UI -->
</form>{
"name": "search_episodes",
"description": "Search this podcast by topic, person, or keyword. Returns ranked results with title, date, URL, and a transcript snippet.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query (free text)."
},
"limit": {
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 50
}
},
"required": [
"query"
]
},
"annotations": {}
}document.modelContext.provideContext({
tools: [{ name: "your_tool_name", description: "...", inputSchema: { type: "object", properties: {} }, execute: async (args) => { /* ... */ } }],
});// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });search_episodes: 1 parameter has no description (limit){
name: "search_episodes",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "What to search for" }
},
required: ["query"]
}
}search_episodes{
name: "search_episodes",
execute: async (args) => {
// Perform the real action here - return live data, not a static placeholder.
return result;
}
}search_episodes{
name: "search_episodes",
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true }
}document.modelContext.dispatchEvent(new Event("toolchange"));search_episodes<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="search_episodes" tooldescription="...">
<!-- the same action, as UI -->
</form>