suggest_chart_type
Recommends the optimal chart type for a plain-English diagram request. Returns a confident selection or prompts for user input when ambiguous.
Instructions
Suggest the best DGMO chart type for a user's plain-English diagram request.
ALWAYS CALL THIS FIRST when creating a new diagram — it prevents guessing and is the authoritative selection mechanism.
Returns one of two shapes: (1) a confident pick (high/medium) with the top match's syntax, or (2) an '⚠️ ASK THE USER' directive when the choice is ambiguous or nothing matched. On an ASK-THE-USER directive, do NOT pick a type yourself — present the listed candidates to the user and wait for their choice before generating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | User's plain-English diagram request |