2 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: [/* ... */] });book_demo: declares no required list, so an agent cannot tell which parameters are mandatory{
name: "book_demo",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "What to search for" }
},
required: ["query"]
}
}book_demo: note, user{ name: "book_demo", annotations: { untrustedContentHint: true } }book_demo, search_docs<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="book_demo" tooldescription="...">
<!-- the same action, as UI -->
</form>{
"name": "book_demo",
"description": "Navigates to Attention's demo-scheduling page (powered by Default). The page opens a calendar where the user picks a time with the sales team. Optionally pre-fills a note with context (company, team size, use-case).",
"inputSchema": {
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "Optional context (company name, use-case, team size) to pre-fill on the booking form."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}
}// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });book_demo: declares no required list, so an agent cannot tell which parameters are mandatory{
name: "book_demo",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "What to search for" }
},
required: ["query"]
}
}book_demo: note, user{ name: "book_demo", annotations: { untrustedContentHint: true } }document.modelContext.dispatchEvent(new Event("toolchange"));book_demo, search_docs<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="book_demo" tooldescription="...">
<!-- the same action, as UI -->
</form>