Code owners
code_ownersRank authors by commits and lines changed for a file or folder, with first and last change dates, to identify likely maintainers; merge commits are skipped.
Instructions
Who knows a file or folder best: authors ranked by commits and lines changed under a path, with the dates of their first and last change. Merge commits are skipped.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "code_owners"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | No | Branch, tag or revision whose history to read. | HEAD |
| path | No | File or folder inside the repository. Defaults to the whole repository. | |
| repo | No | Path to the repository (or a folder inside it). Defaults to the first allowed root. | |
| limit | No | Number of authors to return. | |
| since | No | Only count changes after this date, e.g. "6 months ago" or "2026-01-01". | |
| max_commits | No | Newest commits to read before stopping. |