searchInNotebook
Search for specific content within a OneNote notebook using keywords, date filters, and result limits to locate relevant pages quickly.
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": {
"notebookId": "<notebookId>"
},
"name": "searchInNotebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebookId | Yes | The ID of the notebook to search within. | |
| query | No | Optional keyword to filter page titles. | |
| days | No | Optional: search pages from last N days. | |
| top | No | Max pages per section. |