plot_distribution
Generate a distribution plot comparing one column across datasets, returning a base64 PNG and automatically selecting a bar or KDE plot.
Instructions
Generate distribution plot comparing datasets for a specific column. Returns base64-encoded PNG image. Automatically chooses bar plot (categorical) or KDE plot (numerical).
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": {
"dataset_ids": "<dataset_ids>",
"column_name": "<column_name>"
},
"name": "plot_distribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| column_name | Yes | Column name to plot distribution for | |
| dataset_ids | Yes | List of dataset IDs to compare (e.g., [real_dataset_id, synthetic_dataset_id]) |