ensure_lines_in_file
Add or remove specified lines from a remote file via SSH to enforce desired content state.
Instructions
Ensures specific lines are present or absent in a file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| path | Yes | File path | |
| lines | Yes | Lines to manage | |
| state | Yes | Desired state |