6 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_site, get_page_content, list_recent_content, get_site_info, search_products{
name: "search_site",
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true }
}search_site, get_page_content, list_recent_content, get_site_info, search_products<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="search_site" tooldescription="...">
<!-- the same action, as UI -->
</form>{
"name": "search_site",
"description": "Search this site's published content by keyword. Pass the search terms in \"q\". Returns matching posts/pages with title, URL, excerpt, and content type. Only published, public content included in the site's llms.txt settings is searched. Use it to find relevant pages before fetching them with get_page_content.",
"inputSchema": {
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search keywords."
}
},
"required": [
"q"
],
"additionalProperties": false
},
"annotations": {}
}// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });list_recent_content: declares no required list, so an agent cannot tell which parameters are mandatory{
name: "list_recent_content",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "What to search for" }
},
required: ["query"]
}
}search_site, get_page_content, list_recent_content, get_site_info, search_products{
name: "search_site",
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true }
}document.modelContext.dispatchEvent(new Event("toolchange"));search_site, get_page_content, list_recent_content, get_site_info, search_products<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="search_site" tooldescription="...">
<!-- the same action, as UI -->
</form>clarity: weak{
"q": "carry-on suitcase under $300"
}{}{
"id": 1,
"quantity": 2
}