gitee_get_file_contents
Retrieve file contents from a Gitee repository by providing owner, repo, file path, and optional branch or tag.
Instructions
Get file contents
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": "gitee_get_file_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (user/org/enterprise path) | |
| repo | Yes | Repository path name | |
| path | Yes | File path | |
| ref | No | Branch/tag/commit | |
| token | No | Private token (overrides env) |