Make fishbone diagram
make_fishboneUse this when the user wants a fishbone, Ishikawa or cause and effect diagram drawn for a problem, for example "make a fishbone for late deliveries" or "6M fishbone template for high scrap rate". Takes the problem (the effect), 2 to 8 categories with up to 10 causes each and up to 5 sub-causes per cause, and a landscape PDF page size. With no categories it uses the 6M set and says so. Returns counts per category, a layout check (overlapping labels, labels crossed by a bone), the PDF page count and smallest text size, an outline, an interactive diagram, and PDF, SVG, CSV and text downloads. Refuses text over the limits with the item named. Does not find, rank or verify root causes. Download links of large diagrams expire after about 1 hour.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem | Yes | The problem or effect at the head of the fish, up to 120 characters, e.g. "Late deliveries in March". | |
| page_size | No | PDF page in landscape: letter (default), a4 or tabloid (11 x 17 in, fits more on one page). | |
| categories | No | 2 to 8 categories (the big bones), each {"name":"People","causes":[...]} with 0 to 10 causes and 0 to 5 sub-causes per cause. Each cause is text ("Training gaps") or {"text":"Training gaps","sub_causes":["No manual","Rushed onboarding"]}. Leave it out to get the 6M set (People, Methods, Machines, Materials, Measurements, Environment) with no causes yet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| counts | Yes | ||
| outline | Yes | ||
| problem | Yes | ||
| warnings | Yes | ||
| downloads | Yes | ||
| page_size | Yes | ||
| layout_check | Yes | ||
| per_category | Yes | ||
| preview_count | No | ||
| categories_used | Yes | ||
| duplicate_causes | Yes | ||
| empty_categories | Yes | ||
| duplicate_sub_causes | Yes |