search_pages
Search cached OneNote pages locally via SQLite FTS5 without network calls; set refresh to true to run a full account sync before searching, which is slow for large accounts.
Instructions
Search cached OneNote pages via local SQLite FTS5 (onenote_fts); no network by default. refresh:true first runs a full account sync (many Graph requests, slow on large accounts), so avoid it in loops.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| cursor | No | next_cursor from the previous response | |
| refresh | No | Run a full account sync before searching. Expensive: many Graph requests. | |
| section | No | Optional section name or Notebook/Section path to filter results |