plugin_patch
Write a source file into a plugin's editable tree to stage changes; then validate with plugin_reload and activate via plugin_install after consent.
Instructions
Write a source file inside a plugin's editable tree. This does not change installed/running code. Then plugin_reload validates and plugin_install activates after consent.
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": {
"id": "<id>",
"path": "<path>",
"content": "<content>"
},
"name": "plugin_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Plugin id from plugin_list, or the id being authored. | |
| path | Yes | ||
| content | Yes |