replace_content
Replaces specified text in a document, with an option to replace all occurrences, enabling targeted content updates in local Hillnote workspaces.
Instructions
Replace text in document
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": {
"workspace": "<workspace>",
"documentId": "<documentId>",
"searchText": "<searchText>",
"replaceText": "<replaceText>"
},
"name": "replace_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Replace all occurrences (default: false) | |
| workspace | Yes | ||
| documentId | Yes | ||
| searchText | Yes | ||
| replaceText | Yes |