List co-change partners for a file
workspace_get_cochange_partnersIdentify files that historically change together with a given file to determine which related files may need updating after an edit.
Instructions
Return the files that historically change together with the given file, per workspace.json.
Use after editing a file to check whether related files also need updating.
Args:
path (string): repo-relative or absolute file path.
Returns JSON: { "path": string, "partners": string[], "count": number } Returns an empty partners array when none are recorded (a real answer, not an error).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The file path to look up. Absolute or repo-relative both work (matched on suffix). Example: 'src/db/client.ts'. |