create_pie_chart
Turn proportional data into a pie chart with labeled slices showing percentages. Supports optional title and theme, saves to an .excalidraw file.
Instructions
Create a pie chart diagram.
Generates a pie chart with labeled slices showing proportions. Each slice displays its label and percentage.
Args: slices: List of slices with label and value title: Optional chart title output_path: Optional output file path theme: Color theme - "light" or "dark"
Returns: Absolute path to the generated .excalidraw file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | light | |
| title | No | ||
| slices | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |