delete_file
Delete a file from a Codeup repository by specifying organization, repository, branch, and file path, with a commit message.
Instructions
[Code Management] Delete a file from a Codeup repository
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": {
"organizationId": "<organizationId>",
"repositoryId": "<repositoryId>",
"filePath": "<filePath>",
"commitMessage": "<commitMessage>",
"branch": "<branch>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name | |
| filePath | Yes | File path, needs to be URL encoded, for example: /src/main/java/com/aliyun/test.java | |
| repositoryId | Yes | Repository ID, or org/repo path with slashes URL-encoded as %2F. e.g. 2835387 or myorg%2Fmyrepo | |
| commitMessage | Yes | Commit message | |
| organizationId | Yes | Organization ID |