compute.sync_project
compute_sync_projectPreview or apply a Git fetch and checkout to sync a project on a specified node; blocks the operation when the working tree has uncommitted changes.
Instructions
Show (or apply, with confirm=true) a git fetch/checkout for a project on one node. Refuses on a dirty working tree.
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>",
"node_id": "<node_id>"
},
"name": "compute_sync_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| confirm | No | ||
| node_id | Yes | ||
| project_id | Yes |