Git status of a server folder
git_statusA folder on the user's server as git sees it: the repository and branch it runs, the commit, whether GitHub has newer commits, and the drift: live files that differ from that commit (changed, new or deleted, .gitignore respected). Drift on a live shop nobody touched can be a hack: check it with malware_scan. Changes nothing.
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": {
"path": "<path>"
},
"name": "git_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The folder's absolute path on the server, like /home/shop/public_html. | |
| fetch | No | Ask GitHub for new commits first (default true). | |
| server | No | Server name or id. Optional when the account has one server. |