edit
Change content, all or nothing, with no AI and no credits. action: patch (small patches to a screen's HTML, one visual group per call, the usual way), replace (full new HTML), save_version, version_from_comments, react_files (a React app's files), diagram. Fields go in params.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | The change. | |
| params | No | The action's fields. guide({ topic: "<tool>.<action>" }) lists them. |