Apply Patch
patch_applyApply a patch (unified diff) to a remote file through an SSH session.
Instructions
Applies a patch to a file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | Patch content (unified diff format) | |
| path | Yes | File path to patch | |
| sessionId | Yes | SSH session ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| changed | Yes |