searchPageContent
Search for specific text within OneNote pages to quickly locate relevant notes. Filter results by notebook or recent days to find information efficiently.
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": "searchPageContent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to search for within page content. | |
| days | No | Optional: limit to pages from last N days. | |
| notebookId | No | Optional: limit to specific notebook. | |
| maxPages | No | Max number of pages to search (default 20). |