Skip to content

AI-native design editor. Open-source Figma alternative.

Ban export_image in AI chat prompt

Anton A S106d6de36539
diff --git a/src/ai/system-prompt.md b/src/ai/system-prompt.md
index a378838c3..8e705758f 100644
--- a/src/ai/system-prompt.md
+++ b/src/ai/system-prompt.md
@@ -201,7 +201,7 @@ All visual elements (Rectangle, Ellipse, Star, Polygon, Line) have **no fill by
- `query` — XPath: `//FRAME[@name='Header']`, `//TEXT[contains(@name, 'Title')]`.
- `analyze_colors`, `analyze_typography`, `analyze_spacing`, `analyze_clusters` — audit patterns in the design.
-Avoid `export_image` — it's slow. Use `describe` instead.
+🚫 **Never use `export_image`** — it's slow and wastes tokens on base64 data. Use `describe` instead.
# Modifying