list_cards
Discover available visual reports (cards) attached to a Metaflow run, step, or task before retrieving them with get_card.
Instructions
List cards attached to a run, step, or task.
Cards are visual reports (HTML) produced by Metaflow steps, often containing plots, tables, and metrics. Use this to discover available cards before retrieving them with get_card.
For a run pathspec, scans all steps (first task per step). For a step pathspec, uses the first task. For a task pathspec, uses that exact task.
Args: pathspec: Run ("FlowName/RunID"), step ("FlowName/RunID/StepName"), or task ("FlowName/RunID/StepName/TaskID") pathspec. card_type: Only list cards of this type (e.g. "default"). card_id: Only list cards with this ID.
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": "list_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pathspec | Yes | ||
| card_type | No | ||
| card_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |