get_git_info
Retrieve a project repository’s commit hash, branch, modified state, origin URL, and GitHub owner to inspect and verify its Git status.
Instructions
Return commit hash, branch, modified state, origin URL and GitHub owner for the project repository.
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": {
"project": "<project>"
},
"name": "get_git_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| hash_length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||