get_file_contents
Retrieve and access the contents of files or directories from Gitee repositories by specifying owner, repository, and path details.
Instructions
获取 Gitee 仓库中文件或目录的内容
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | Branch name, defaults to the repository's default branch | |
owner | Yes | Repository owner path (enterprise, organization, or personal path) | |
path | Yes | File path | |
repo | Yes | Repository path |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"branch": {
"description": "Branch name, defaults to the repository's default branch",
"type": "string"
},
"owner": {
"description": "Repository owner path (enterprise, organization, or personal path)",
"type": "string"
},
"path": {
"description": "File path",
"type": "string"
},
"repo": {
"description": "Repository path",
"type": "string"
}
},
"required": [
"owner",
"repo",
"path"
],
"type": "object"
}