get_playbook
Returns the OrgGen manual for a diagram kind: the rules an agent must follow so that its writes produce a correct AND visible result. It is read before a first series of writes on a kind not yet handled: the most costly mistakes here raise no exception (content written but never displayed, a block placed off-screen, wrong percentages in a cap table) — nothing signals the failure. Without arguments, returns the cross-kind rules. With 'topic', restricts to one topic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Diagram kind whose rules you want. Omitted, returns the cross-kind rules only. The kind present in the project is read with get_schema_overview: the playbook of another kind is of no use. | |
| topic | No | Restricts to one topic. Omitted, returns EVERYTHING that applies to the kind — it is voluminous but it is the recommended read before a first series of writes. Useful topics: 'placement' (coordinates, layout), 'contenu' (content: desc vs contentBlocks), 'ownership' (percentages), 'modelisation' (modeling: entities, relations), 'workflow' (order of operations). |