onenote_save_access_token
Saves a Microsoft Graph access token locally so other tools can authenticate and call the Graph API for OneNote tasks.
Instructions
Save a Microsoft Graph access token for later use.
Persists the token to the local token file so subsequent tools can call the Graph API.
Return Format
A confirmation string: "✅ Access token saved successfully" or "❌ ..." on failure.
Examples
onenote_save_access_token(token="eyJhbGciOi...") # paste a token from az login / Graph explorer
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": {
"token": "<token>"
},
"name": "onenote_save_access_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The Microsoft Graph access token to save |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |