Fetch Artifact
fetch_artifactRetrieve a specific artifact file from a result's output directory and return its UTF-8 text or a binary flag for inspection.
Instructions
Fetch a specific artifact file's content.
Returns UTF-8 text or binary flag. artifact_name is relative to the result's output directory.
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": {
"result_name": "<result_name>",
"domain_key": "<domain_key>",
"artifact_name": "<artifact_name>"
},
"name": "fetch_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_bytes | No | ||
| domain_key | Yes | ||
| result_name | Yes | ||
| artifact_name | Yes | ||
| include_superseded | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||