{"id":"git-renames-detect","version":"1.0.0","description":"Detect deterministic one-to-one Git-style rename pairs, unmatched paths, scores, and byte evidence.","supported_operations":["detect git renames","pair deleted files with additions","apply rename similarity cutoff","resolve ambiguous rename candidates","find deterministic file moves","report unmatched rename paths"],"unsupported_operations":["read a git repository","perform a filesystem rename"],"semantics":["Every candidate uses git-rename-score semantics and must meet the inclusive integer threshold.","Greedy selection consumes each source and destination at most once.","Candidates sort by descending score, then source path, then destination path by Unicode scalar value; output pairs sort by destination then source."],"limits":{"max_content_bytes":65536,"max_files_per_side":64,"max_comparisons":4096,"max_output_bytes":65536},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["deleted_files","added_files","threshold"],"properties":{"deleted_files":{"type":"array","maxItems":64,"items":{"type":"object","additionalProperties":false,"required":["path","content"],"properties":{"path":{"type":"string","minLength":1,"maxLength":256},"content":{"type":"string","maxLength":65536}}}},"added_files":{"type":"array","maxItems":64,"items":{"type":"object","additionalProperties":false,"required":["path","content"],"properties":{"path":{"type":"string","minLength":1,"maxLength":256},"content":{"type":"string","maxLength":65536}}}},"threshold":{"type":"integer","minimum":0,"maximum":100}}},"output_schema":{"type":"object","additionalProperties":false,"required":["reference","version","threshold","pairs","unmatched_sources","unmatched_destinations"],"properties":{"reference":{"type":"string","const":"Git 2.51.0 diffcore-rename content similarity model"},"version":{"type":"string","const":"1.0.0"},"threshold":{"type":"integer","minimum":0,"maximum":100},"pairs":{"type":"array","maxItems":64,"items":{"type":"object","additionalProperties":false,"required":["source_path","destination_path","score","copied_bytes"],"properties":{"source_path":{"type":"string"},"destination_path":{"type":"string"},"score":{"type":"integer","minimum":0,"maximum":100},"copied_bytes":{"type":"integer","minimum":0,"maximum":65536}}}},"unmatched_sources":{"type":"array","maxItems":64,"items":{"type":"string"}},"unmatched_destinations":{"type":"array","maxItems":64,"items":{"type":"string"}}}},"examples":[{"input":{"deleted_files":[{"path":"old","content":"a\n"}],"added_files":[{"path":"new","content":"a\n"}],"threshold":50},"output":{"reference":"Git 2.51.0 diffcore-rename content similarity model","version":"1.0.0","threshold":50,"pairs":[{"source_path":"old","destination_path":"new","score":100,"copied_bytes":2}],"unmatched_sources":[],"unmatched_destinations":[]}},{"input":{"deleted_files":[],"added_files":[],"threshold":100},"output":{"reference":"Git 2.51.0 diffcore-rename content similarity model","version":"1.0.0","threshold":100,"pairs":[],"unmatched_sources":[],"unmatched_destinations":[]}}],"execute_url":"/v1/tools/git-renames-detect/versions/1.0.0/execute"}