code_authors
MCP tools › Code insight and refactoring
Authors of the declarations of a workspace file, as the editor shows them at the end of each declaration's line: for every class, interface, method and function with committed lines, the main author (most lines in the blame at HEAD; ties go to the newer commit) with email, the number of other authors, whether a line of it changed since HEAD, and the label as drawn (Anna Muster +1 *). 0-based line of the name, start/end lines of the declaration. An open file is read as the editor shows it; an untracked file is an error.
Its results carry text from git, files: the client is told to treat that as data, never as instructions.
| Capability | code.code_authors |
|---|---|
| Area | Code insight and refactoring |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
pathrequired | string | Workspace-relative file path. |
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 code_authors '{"path":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "path" ], "properties": { "path": { "description": "Workspace-relative file path.", "type": "string" } }}