Git diff
git_diffExecute uncolored git diff to compare file changes within a workspace, highlighting modifications for review.
Instructions
Run git diff --no-color inside an open workspace.
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>"
},
"name": "git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | ||
| exitCode | Yes | ||
| stderr | Yes |