()
| 12 | description: "Get current page title", |
| 13 | inputSchema: { type: "object", properties: {} }, |
| 14 | async execute() { |
| 15 | return { |
| 16 | content: [{ type: "text", text: document.title }] |
| 17 | }; |
| 18 | } |
| 19 | }); |
| 20 | |
| 21 | navigator.modelContext.registerTool({ |
nothing calls this directly
no test coverage detected