read_artifact
Read a UTF-8 JSON, CSV, Markdown, or text artifact from a DagsHub repository run, up to 1 MiB, to inspect evaluation or provenance files; previews may be truncated.
Instructions
Read a UTF-8 JSON/CSV/MD/TXT artifact, at most 1 MiB; previews may be truncated.
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>",
"run_id": "<run_id>",
"path": "<path>"
},
"name": "read_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| run_id | 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 |