patch_string
Replaces one existing string in a unique Page record with new text, using the active session chain when source and output paths are omitted.
Instructions
替换唯一 Page 记录中的一个已有字符串(研究用,capabilities.md 未列)。具名调用省略宿主源/输出即使用会话链;原始 args 用 session:true 并省略这两个参数(多源工具保留导入源)。显式路径不推进链。 登记证据 structure,只适用 capabilities.md 的已验样本。CLI: node patch-string.mjs <source.rp> <new.rp>
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": {
"args": "<args>"
},
"name": "patch_string"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| session | No | true 时 args 省略宿主源和输出,由当前链注入;多源工具仍传导入源。 |