get_file_contents
Retrieve and access the contents of files or directories from Gitee repositories by specifying owner, repository, and path details.
Instructions
获取 Gitee 仓库中文件或目录的内容
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": {
"owner": "<owner>",
"repo": "<repo>",
"path": "<path>"
},
"name": "get_file_contents"
}
}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 |