2 tools registered. Strongest in tool selection, weakest in trust.
// document.modelContext is the canonical entry point - the navigator.modelContext alias is deprecated.
document.modelContext.registerTool({ /* ... */ });list_hostinger_pages: Description instructs agent to call this tool first{
name: "list_hostinger_pages",
// Metadata DESCRIBES the tool - it never addresses the agent reading it.
// Rewrite any name, description, title, or schema field description that
// instructs the agent (which tool to prefer, what to output, rules to
// ignore) so it states what the tool does and what it returns instead.
description: "Searches the catalog and returns matching items with prices."
}{
"name": "list_hostinger_pages",
"description": "List the Hostinger pages this site can navigate to, with a short description of each. Call this before navigate_to_hostinger_page to learn the valid page names.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true
}
}obstruction: weaknavigate_to_hostinger_page: registered at 1660ms// Register tools as soon as they're ready, not behind a deferred/async chunk.
document.modelContext.registerTool({ /* ... */ });// document.modelContext is the canonical entry point - the navigator.modelContext alias is deprecated.
document.modelContext.registerTool({ /* ... */ });list_hostinger_pages: Description instructs agent to call this tool first{
name: "list_hostinger_pages",
// Metadata DESCRIBES the tool - it never addresses the agent reading it.
// Rewrite any name, description, title, or schema field description that
// instructs the agent (which tool to prefer, what to output, rules to
// ignore) so it states what the tool does and what it returns instead.
description: "Searches the catalog and returns matching items with prices."
}{}{
"page": "homepage"
}