mcg_get_artifact
Fetch one artifact file's TEXT content, up to max_bytes (default 65536), with an explicit truncation note. Binary content REJECTS with unsupported_content; fetch binaries from the run's public page. A third-party model's file returns its full license notice first, as an [attribution] text item.
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": {
"run_id": "<run_id>",
"path": "<path>"
},
"name": "mcg_get_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The artifact sub-path, e.g. results/report.md. | |
| run_id | Yes | The run id. | |
| max_bytes | No | Max bytes to inline (default 65536). |