Unstage Git Files
unstageGitFilesRemoves given paths from the Git index while preserving changes in the working tree, letting you undo staging without losing file edits.
Instructions
Take the given paths out of the index; their changes stay in the working tree. Works only on a development app: any other app answers 403 read_only. Runs git in the app's running container and returns its output.
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": {
"workspaceSlug": "<workspaceSlug>",
"appSlug": "<appSlug>"
},
"name": "unstageGitFiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| region | No | ||
| appSlug | Yes | ||
| requestBody | No | The JSON request body. | |
| workspaceSlug | Yes |