get_git_status
Read this project's git state: which remote repository is attached (URL), current branch, HEAD sha, ahead/behind counts, uncommitted changes, and oversized files. Read this before sync_from_git to decide whether a pull is needed or the remote still has to be configured (web app settings / REST PUT /api/v1/user/git/projects/<project_id>/config).
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_id": "<project_id>"
},
"name": "get_git_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |