servicestage__ShowContent
Retrieve file contents from a specified ServiceStage project repository using namespace, project ID, file path, and a branch, tag, or commit ref.
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": {
"namespace": "<namespace>",
"path": "<path>",
"project": "<project>",
"project_id": "<project_id>",
"ref": "<ref>"
},
"name": "servicestage__ShowContent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | 分支名称或者tag标签名称或者commit sha。 | |
| path | Yes | 文件路径,需要将“/”替换为“:”。 | |
| project | Yes | 仓库项目ID,如果含有“/”,需要将“/”替换为“:”。 | |
| namespace | Yes | 命名空间ID或者URL编码名称。 | |
| project_id | Yes | 租户的project ID。 |