plot_facet
Generate faceted small-multiple plots to compare a numeric variable's distribution across categorical groups. Returns JSON and inline PNG.
Instructions
Distribution faceted by a categorical (small multiples). JSON + inline PNG.
`ncols` controls the grid width (panels per row). Renamed from
`columns` to avoid clashing with `columns: list[str]` used by other
plot tools.
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": {
"source_id": "<source_id>",
"column": "<column>",
"facet_by": "<facet_by>"
},
"name": "plot_facet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bins | No | ||
| ncols | No | ||
| column | Yes | ||
| facet_by | Yes | ||
| source_id | Yes |