diagram-generator
Installation
SKILL.md
Diagram Generator
This tool executes Python code in Bedrock Code Interpreter to generate diagrams. You must write matplotlib code — this is NOT a simple diagram type selector.
Available Tool
- generate_diagram_and_validate: Execute Python code to create a diagram image.
Parameters (MUST match exactly)
| Parameter | Type | Required | Description |
|---|---|---|---|
python_code |
str | Yes | Python code that generates a diagram using matplotlib |
diagram_filename |
str | Yes | Output PNG filename (must end with .png) |
WARNING: There is NO diagram_type parameter. You must write Python code.
Example tool_input
Related skills
More from aws-samples/sample-strands-agent-with-agentcore
financial-news
Stock quotes, price history, financial news, and analysis
207code-interpreter
Test and prototype code in a sandboxed environment. Use for debugging, verifying logic, or installing packages.
139google-maps
Place search, directions, geocoding, and interactive maps
80wikipedia-search
Wikipedia article search and retrieval
68word-documents
Create, modify, and manage Word documents.
67weather
Current weather and multi-day forecasts worldwide
53