execute
Execute Python code to interact with YNAB data. Use ynab.read for queries or ynab.write for mutations, and return results directly.
Instructions
Execute a Python snippet against the gated ynab.read/ynab.write Code Mode API.
Enabled by default. Mutating calls require ``code_mode_mutations_enabled`` preference
and must use ``ynab.write.*``. The snippet is treated as the body of an async function:
``await ynab.read.get_budgets()``, ``return`` directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| timeout | No |