replaceTextInPage
Finds and replaces specified text in a Microsoft OneNote page by page ID, with optional case-sensitive matching.
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": {
"pageId": "<pageId>",
"findText": "<findText>",
"replaceText": "<replaceText>"
},
"name": "replaceTextInPage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The ID of the page to modify. | |
| findText | Yes | The text to find and replace. | |
| replaceText | Yes | The text to replace with. | |
| caseSensitive | No | Case-sensitive search (default: false). |