Edit store document
edit_store_documentChange part of a store document, such as a Plan’s brief or the design guide, by replacing exact text. Fails if the text is gone or the document has changed since it was read.
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": {
"path": "<path>",
"old_string": "<old_string>",
"new_string": "<new_string>"
},
"name": "edit_store_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the existing document. | |
| store | No | The connected store to use. Omit when only one is connected. | |
| new_string | Yes | Replacement text; empty deletes old_string. | |
| old_string | Yes | Exact text to replace. | |
| replace_all | No | Replace every occurrence. Defaults to false. |