rename_notebook
Rename a OneNote notebook stored in OneDrive or SharePoint using its drive and item IDs; requires file write permission and returns the updated drive item ID.
Instructions
Rename an existing OneDrive or SharePoint OneNote package by explicit storage IDs. Supply a token with file write permission. The returned ID is the drive item's ID.
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": {
"drive_id": "<drive_id>",
"item_id": "<item_id>",
"name": "<name>"
},
"name": "rename_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| item_id | Yes | DriveItem ID with package.type oneNote | |
| drive_id | Yes |