search_and_replace
Find and replace text in a document and write the result to a new file. If multiple matches exist, replace fails unless scope is set to 'all'.
Instructions
One-shot text replace written to a NEW file; fails closed on 2+ matches unless scope='all'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| path | Yes | ||
| scope | No | ||
| replace | Yes | ||
| out_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |