Using it
The six tools
What each of the six tools does, in plain words and in detail.
The AI works through six small tools. You never call them yourself; knowing them helps you ask for the right thing.
#In plain words
- view gives the AI a picture of Rhino or the Grasshopper canvas, with a grid and short tags it can point at.
- query looks things up as text: your model, the definition, installed components, the Rhino and Grasshopper API, your own workflows and scripts.
- run runs Python 3 or C# inside Rhino and reports what changed.
- gh_edit builds and edits Grasshopper definitions.
- undo goes back to an earlier checkpoint.
- memory keeps your preferences, workflows and learned rules.
#The details
| tool | what it does |
|---|---|
view |
Rhino or GH canvas image with an 8×8 grid and short handle tags (r12, g4). Region-first: a crowded view returns per-cell counts, then focus:'C3:E5' zooms in. Also shows GH preview geometry in Rhino. |
query |
Text, cheapest first. Rhino: summary → one line per object with an oriented box → detail → vertices. GH: the definition as shorthand. Also searches installed components (with ports), the API reference (RhinoCommon, Grasshopper SDK, rhinoscriptsyntax), the docs, your workflows, the script library and status. |
run |
Python 3 / C# in Rhino with helpers (h('r3'), q('layer:X'), obb(), ghdoc()). Supports patch edits. Replies with the Rhino + GH delta, errors at your own line numbers, and a checkpoint. |
gh_edit |
Shorthand diffs: create, modify, wire, group, and component state (dropdowns, on-component toggles, right-click menu, clicks). Also script components, layout/tidy (with group interface relays), and open/save/bake. Definitions can be saved as .ghs: the same shorthand as readable, diffable text that opens back into an identical canvas. |
undo |
Revert to a checkpoint (Rhino objects, layers/current layer + GH document), independent of Rhino's own undo stack. |
memory |
Your preferences and workflows, learned rules (user-approved), mistake log, script library. |
Last updated 25 Oct 2026