get_file_contents
Retrieve file or directory contents from a GitLab project using a file path, project ID, and optional ref.
Instructions
Get the contents of a file or directory from a GitLab project
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_file_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| file_path | No | ||
| project_id | No |