artifact_read
Read a bounded text or image artifact from a Stata run, with size limits for efficient retrieval.
Instructions
Read one bounded text or image artifact belonging to a run.
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>",
"relative_path": "<relative_path>"
},
"name": "artifact_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| max_bytes | No | ||
| project_path | No | ||
| relative_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| run | No | ||
| data | No | ||
| error | No | ||
| warnings | No |