save_plugin
Save changes to a local classic plugin by overwriting its entire source file. Read the plugin first, then submit the full modified source.
Instructions
Write the source of a local classic plugin (POST /api/v2/save-plugin-text). Overwrites the whole file, so read_plugin first and send back the full modified source. Only edit Local plugins — Community plugins are overwritten on the next plugin update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Complete new plugin source | |
| plugin_id | Yes | Plugin ID | |
| plugin_source | Yes | Plugin source, normally 'Local' |