read_artifact
Read text windows, inline images, or resource links from research artifacts. Download full files up to 100 MiB with checksum verification when metadata is available.
Instructions
Read a UTF-8 text byte window, inline a small image, or return a resource link. To download a full file up to 100 MiB, supply an absolute output_path whose parent exists; existing files are never overwritten. Download checksum is verified when metadata provides it.
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": {
"session_id": "<session_id>",
"artifact_id": "<artifact_id>"
},
"name": "read_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| max_bytes | No | ||
| session_id | Yes | ||
| artifact_id | Yes | ||
| output_path | No |