replaceTextInPage
Find and replace specific text within a OneNote page by providing the page ID, target text, and replacement text. Supports case-sensitive search for precise modifications.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
caseSensitive | No | Case-sensitive search (default: false). | |
findText | Yes | The text to find and replace. | |
pageId | Yes | The ID of the page to modify. | |
replaceText | Yes | The text to replace with. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"caseSensitive": {
"default": false,
"description": "Case-sensitive search (default: false).",
"type": "boolean"
},
"findText": {
"description": "The text to find and replace.",
"type": "string"
},
"pageId": {
"description": "The ID of the page to modify.",
"type": "string"
},
"replaceText": {
"description": "The text to replace with.",
"type": "string"
}
},
"required": [
"pageId",
"findText",
"replaceText"
],
"type": "object"
}