servicestage__DeleteFile
Deletes a file from a ServiceStage project repository by specifying the namespace, project, file path, branch/tag/commit ref, and latest commit SHA.
Instructions
[SERVICESTAGE] 删除指定项目仓库下的文件。
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": {
"message": "<message>",
"namespace": "<namespace>",
"path": "<path>",
"project": "<project>",
"project_id": "<project_id>",
"ref": "<ref>",
"sha": "<sha>"
},
"name": "servicestage__DeleteFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | 分支名称或者tag标签名称或者commit sha。 | |
| sha | Yes | 最后一次提交的commit sha值。 | |
| path | Yes | 文件路径,需要将“/”替换为“:”。 | |
| message | Yes | 提交描述。 | |
| project | Yes | 仓库项目ID,如果含有“/”,需要将“/”替换为“:”。 | |
| namespace | Yes | 命名空间ID或者URL编码名称。 | |
| project_id | Yes | 租户的project ID。 |