paste_code
Paste code at a chosen line in a target file, with optional backup creation to protect existing content.
Instructions
Paste code at specific line in target file.
Args: target_file: Path to target file line_number: Line number to paste at (1-based, inserts before this line) code: Code content to paste create_backup: Whether to create backup file before modification
Returns: Success message with details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| line_number | Yes | ||
| target_file | Yes | ||
| create_backup | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |