read_repo_file
Read a UTF-8 JSON, CSV, MD, or TXT report pinned to a resolved commit in a DagsHub repository, with a 1 MiB file limit.
Instructions
Read a UTF-8 JSON/CSV/MD/TXT report pinned to a resolved commit; 1 MiB limit.
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": {
"repository": "<repository>",
"revision": "<revision>",
"path": "<path>"
},
"name": "read_repo_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| revision | Yes | ||
| repository | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| rows | No | ||
| text | Yes | ||
| format | Yes | ||
| run_id | No | ||
| source | Yes | ||
| revision | No | ||
| warnings | No | ||
| truncated | No | ||
| bytes_read | Yes | ||
| repository | Yes |