search
Run Python code to filter the YNAB tool catalog and return matching entries.
Instructions
Discover available YNAB tools by running a Python snippet against the tool catalog.
The snippet runs in a sandboxed environment with a ``spec`` variable — a list of dicts,
each with keys ``name``, ``namespace`` (``"read"`` or ``"write"``), ``signature``,
``doc``, and ``returns``. Filter or map ``spec`` and return the subset you need.
Example: ``return [t for t in spec if "transaction" in t["name"]]``
No live YNAB API access. Returns the same CodeModeResult shape as execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |