text_replace
Find and replace text within a string. Optionally treat the search term as a regular expression.
Instructions
文本查找替换。use_regex=true 时 find 作为正则表达式处理
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": {
"text": "<text>",
"find": "<find>"
},
"name": "text_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| text | Yes | ||
| replace | No | ||
| use_regex | No |