Stage Git Files
stageGitFilesStages specified repository paths inside a development app's running container, adding their current contents to the Git index for the next commit and returning Git output.
Instructions
Add the current contents of the given paths to the index, ready for the next commit. 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": "stageGitFiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| region | No | ||
| appSlug | Yes | ||
| requestBody | No | The JSON request body. | |
| workspaceSlug | Yes |