git_conflicts
MCP tools › Version control
Files with an unresolved merge conflict (after a merge, rebase, cherry-pick or stash that stopped) with their base, ours and theirs text from the index (ours is HEAD, in a rebase the target), and the automatic three-way merge with its open conflicts, as the merge view shows them. has_base, has_ours and has_theirs say which sides have the file; binary says a side is not text (NUL byte, not UTF-8, symbolic link, submodule). A binary file and a file one side deleted are one open conflict that takes a whole side; merged is null for a binary file.
Its results carry text from git, files: the client is told to treat that as data, never as instructions.
| Capability | git.git_conflicts |
|---|---|
| Area | Version control |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
No arguments.
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project git_conflictsInput schema as JSON
{ "type": "object", "properties": {}}