git_commit_to_git
Commits workspace changes to the connected Git repository, supporting all items or selective selection with a commit comment. Enables version control for Fabric workspaces.
Instructions
Commit workspace changes to the connected Git repository (long-running)
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": {
"workspaceId": "<workspaceId>",
"mode": "<mode>"
},
"name": "git_commit_to_git"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Commit mode: All items or Selective | |
| items | No | Items to commit (required when mode is Selective) | |
| comment | No | Commit comment/message | |
| workspaceId | Yes | The workspace ID | |
| workspaceHead | No | Workspace head object ID for concurrency control |