pub fn apply_patch_paths(args: &Value) -> Vec<String>Expand description
Extract file paths from an apply_patch-style tool payload. Codex exposes
patch targets as a structured files list or as freeform patch text
(command/patch/input/content), OpenCode as patchText; collect all
of them so the guard can deny unknown or out-of-bounds patches before they
run.