8 tools registered. Strongest in shared experience, weakest in trust.
// document.modelContext is the canonical entry point - the navigator.modelContext alias is deprecated.
document.modelContext.registerTool({ /* ... */ });list_notes, search_notes, summarize_selection, suggest_links{
name: "list_notes",
// Declare readOnlyHint: true on tools that truly have no side effects -
// that is the claim that lets an agent relax confirmation on reads.
// (false is the default, so declaring it adds no information.)
annotations: { readOnlyHint: true }
}list_notes: note, user; suggest_links: note, user{ name: "list_notes", annotations: { untrustedContentHint: true } }{
"name": "list_notes",
"description": "List the user's local notes. Returns only titles and a short 1-line preview for each note — never the full note body.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {}
}// document.modelContext is the canonical entry point - the navigator.modelContext alias is deprecated.
document.modelContext.registerTool({ /* ... */ });accept_suggestion: 1 parameter has no description (suggestionId); reject_suggestion: 1 parameter has no description (suggestionId){
name: "accept_suggestion",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "What to search for" }
},
required: ["query"]
}
}{ name: "highlight_related" /* short, unique, verb-based */ }list_notes, search_notes, summarize_selection, suggest_links{
name: "list_notes",
// Declare readOnlyHint: true on tools that truly have no side effects -
// that is the claim that lets an agent relax confirmation on reads.
// (false is the default, so declaring it adds no information.)
annotations: { readOnlyHint: true }
}list_notes: note, user; suggest_links: note, user{ name: "list_notes", annotations: { untrustedContentHint: true } }{}{}{
"noteId": ""
}