list_notebooks
Lists accessible Microsoft OneNote notebooks, including optional Teams/Group shared notebooks, with pagination and offline-cache options.
Instructions
List accessible Microsoft OneNote notebooks (personal + optional Teams/Group shared notebooks). Calls Microsoft Graph unless offline:true (a recent cached answer is reused only when ONENOTE_CLI_CACHE_SECS is set). include_teams adds one Graph request per joined Team, up to ONENOTE_MAX_TEAMS (default 100), and can take several seconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_notebooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | next_cursor from the previous response | |
| offline | No | Read the local SQLite cache only: no network, may be stale. | |
| refresh | No | Ignore any cached answer and refetch from Microsoft Graph. Costs extra Graph requests; use only when results look stale. | |
| include_teams | No | Include Microsoft Teams/Group shared notebooks (one extra Graph request per joined Team) |