get_diagram_schema
Retrieve the JSON schema and selection guidance for any diagram type before creating a diagram, ensuring your payload matches the expected format on the first attempt.
Instructions
Get the JSON schema and selection guidance for one diagram type.
Call this before passing a spec to create_diagram for a type you have
not used yet, so the payload matches on the first attempt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram_type | Yes | A type name from list_diagram_types (e.g. "sequence", "pyramid", "bar", "swimlane"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |