kb_replace_text
Replaces a literal text fragment in a page while preserving formatting, enabling corrections, outdated value updates, and wording fixes.
Instructions
把页面中一段字面文字替换掉(保留样式)。用于纠错、更新过期数值、修正措辞。
这是唯一会改写原文的工具,用之前必须 kb_read 确认 search 片段准确。
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": {
"node_token": "<node_token>",
"search": "<search>",
"replace": "<replace>"
},
"name": "kb_replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| search | Yes | ||
| replace | Yes | ||
| node_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |