ecp_apps_git_pull
Pull remote commits into a git-based app folder and report update status plus commits and changed files. Optionally discard tracked local changes after confirmation.
Instructions
Pull the latest commits into a git-based app's folder. Returns status: 'updated' | 'up_to_date' | 'local_changes' (edited tracked files conflict) | 'diverged' (folder has commits the remote doesn't) | 'auth_failed' | 'busy' | 'error', plus the commits and changed files. Pulling doesn't rebuild or restart the app - follow with ecp_apps_deploy_step (install/build/restart) as the app needs. discard_local_changes=true throws away edits to tracked files and local-only commits (git reset --hard to the remote branch; untracked files like .env are kept) and requires confirm: true.
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": {
"id": "<id>"
},
"name": "ecp_apps_git_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| confirm | No | ||
| discard_local_changes | No |