list_capsules
Discover Grasshopper capsules with typed, audited contracts to find which are executable via run_gh_definition.
Instructions
Lists Grasshopper capsules: GH definitions with a typed, audited input/output contract that can be executed via run_gh_definition.
Call this FIRST to discover what capsules exist before calling run_gh_definition. Each entry is a compact card with capsule_id, capability, structure_type, audited flag, and the reserved ALMOND_IN_* / ALMOND_OUT_* port names. Only capsules with audited=true can actually run; audited=false capsules are retrieval context only (read them via get_logic_by_id instead).
Args: capability: Optional filter: "analyze", "generate", "form_find", or "aggregate". audited_only: When true, list only capsules that run_gh_definition will accept. Returns: JSON with total and a list of compact capsule cards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capability | No | ||
| audited_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |