get_artifact
Retrieve the value of a data artifact from a Metaflow task using its pathspec and artifact name.
Instructions
Get the value of a data artifact from a task.
Args: pathspec: Task pathspec like "FlowName/RunID/StepName/TaskID". name: Artifact name (e.g. "model", "result").
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": {
"pathspec": "<pathspec>",
"name": "<name>"
},
"name": "get_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pathspec | Yes | ||
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |