run_repository_fix
Run the repository pipeline and then apply its result in one call, returning the canonical repository envelope for both stages. pipeline takes run_repository_pipeline's arguments and must complete through simulate (the call fails otherwise); apply takes apply_repository's arguments with mode defaulting to patch_only — the write modes still require the simulation gate to pass and write_permission=true. Use the separate stage tools when you need to review the plan or simulation before anything is written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | apply_repository arguments (branch, message, PR fields, write_permission); mode defaults to patch_only. | |
| pipeline | No | run_repository_pipeline arguments; defaults to {}. | |
| repository_id | Yes | Saved repository connector id from list_connectors. |