get_ownership
Identify file owners using workspace CODEOWNERS rules. Input a workspace ID and file path to return team or user handles responsible for the file.
Instructions
Resolve the owner(s) of a file path according to the workspace CODEOWNERS rules. Returns a list of team or user handles.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>",
"path": "<path>"
},
"name": "get_ownership"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | Workspace to query ownership rules from | |
| path | Yes | Relative file path to resolve ownership for (e.g. "packages/api/src/index.ts") |