3 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: [/* ... */] });{ name: "vneconomy_search_articles" /* short, unique, verb-based */ }vneconomy_search_articles, vneconomy_get_latest_news, vneconomy_list_categories{
name: "vneconomy_search_articles",
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true }
}vneconomy_search_articles, vneconomy_get_latest_news, vneconomy_list_categories<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="vneconomy_search_articles" tooldescription="...">
<!-- the same action, as UI -->
</form>{
"name": "vneconomy_search_articles",
"description": "Tìm bài viết trên VnEconomy theo từ khóa. Trả về danh sách bài (tiêu đề, link, tóm tắt, chuyên mục, ngày đăng).",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Từ khóa cần tìm"
},
"limit": {
"type": "number",
"description": "Số kết quả tối đa (1-50, mặc định 10)"
}
},
"required": [
"query"
]
},
"annotations": {}
}vneconomy_list_categories: registered at 1876.9000000953674ms// Register tools as soon as they're ready, not behind a deferred/async chunk.
document.modelContext.provideContext({ tools: [/* ... */] });// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });vneconomy_get_latest_news: declares no required list, so an agent cannot tell which parameters are mandatory{
name: "vneconomy_get_latest_news",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "What to search for" }
},
required: ["query"]
}
}vneconomy_search_articles, vneconomy_get_latest_news, vneconomy_list_categories{
name: "vneconomy_search_articles",
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true }
}document.modelContext.dispatchEvent(new Event("toolchange"));{ name: "vneconomy_search_articles" /* short, unique, verb-based */ }vneconomy_search_articles, vneconomy_get_latest_news, vneconomy_list_categories<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="vneconomy_search_articles" tooldescription="...">
<!-- the same action, as UI -->
</form>