Get repository blob
get_blobFetch a file's content from a GitLab repository using its Git SHA, returning decoded UTF-8 text or bounded base64 for binary data.
Instructions
Fetch repository blob content by Git object SHA. UTF-8 text is decoded by default; binary content remains bounded base64.
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": {
"project": "<project>",
"blob_sha": "<blob_sha>"
},
"name": "get_blob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | GitLab project ID or full path such as group/project. | |
| blob_sha | Yes | ||
| max_bytes | No | ||
| decode_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |