Output Components
Output components (SmartHopper → C. Output) receive one or more Input > wires from Input components, call the selected AI provider, and extract a typed Grasshopper output — without manual string parsing.
Every output component also includes the standard Settings (S) and Run? (R) inputs and emits per-branch JSON usage Metrics (M).
Catalog
| Icon | Component | Nickname | Extra inputs | Outputs | Preview |
|---|---|---|---|---|---|
| AI to Text | AI→Text | — | Text (T) | ![]() | |
| AI to Text List | AI→TextList | Fallback (F, optional list) | Text List (T), Used Fallback (UF) | ![]() | |
| AI to Markdown | AI→MD | — | Markdown (M) | ![]() | |
| AI to Number / AI to Number List | AI→Num / AI→NumList | Fallback (F, optional) | Number / Number List (N), Used Fallback (UF) | ![]() | |
| AI to Integer / AI to Integer List | AI→Int / AI→IntList | Fallback (F, optional) | Integer / Integer List (I), Used Fallback (UF) | ![]() | |
| AI to Boolean / AI to Boolean List | AI→Bool / AI→BoolList | Fallback (F, optional) | Boolean / Boolean List (B), Used Fallback (UF) | ![]() | |
| AI to JSON | AI→JSON | Schema (S, optional), Fallback (F, optional) | JSON (J), Used Fallback (UF) | ![]() | |
| AI to GhJSON | AI→GhJSON | Place on Canvas (P, optional) | GhJSON (G) | ![]() | |
| AI to Image | AI→Img | Size (Sz), Aspect Ratio (AR) | Image (I) | ![]() | |
| AI to Speech | AI→Speech | Voice (V, optional), Speed (Sp, 0.25–4.0) | Audio (A) | ![]() | |
| AI to Script | AI→Script | Language (L, python or csharp) | Script (S) | ![]() |
Typed outputs & fallbacks
Because AI to Number, AI to Integer, and AI to Boolean output native Grasshopper types, you can wire them directly into math, logic, or domain components:

Numeric, boolean, list, and JSON output components include an optional Fallback (F) input and a Used Fallback (UF) boolean output so your downstream definition stays predictable even if a model produces an unparsable response.
Structured JSON output
Wire a schema from the JSON Schema components into AI to JSON's Schema (S) input to constrain the response to your exact property structure, then extract fields with JSON Get Value.
Usage metrics
Every output component emits Metrics (M) — one JSON entry per branch with token counts, completion time, model, and estimated cost. Wire it into Deconstruct SmartHopper Metrics or Combine SmartHopper Metrics to track usage across your definition.










