search_artifacts
Search for a named artifact across recent runs of a flow to locate which tasks produced it, without loading data. Narrow the search by step name for efficiency.
Instructions
Search for a named artifact across recent runs of a flow.
Scans recent runs to find which tasks produced an artifact with the given name. Does not load artifact data. Use get_artifact to retrieve values.
Note: for runs with many parallel tasks this may be slow. Use step_name to narrow the search.
Args: flow_name: Name of the flow class. artifact_name: Name of the artifact to search for (e.g. "model", "accuracy"). last_n_runs: Number of recent runs to scan (default 5). step_name: Only search within this step (e.g. "train"). Recommended for large flows.
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": {
"flow_name": "<flow_name>",
"artifact_name": "<artifact_name>"
},
"name": "search_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_name | Yes | ||
| artifact_name | Yes | ||
| last_n_runs | No | ||
| step_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |