create_account
Add a new account to a GnuCash chart of accounts with type, parent, currency, and optional notes.
Instructions
Create a new account in the chart of accounts.
Args: name: Account name (e.g., "AI Subscriptions"). account_type: One of ASSET, BANK, CASH, CREDIT, EQUITY, EXPENSE, INCOME, LIABILITY, MUTUAL, STOCK, RECEIVABLE, PAYABLE. parent: Parent account ref (full path, %short GUID, or full 32-char GUID). Omit for top-level. description: Optional description. placeholder: Container-only account. Default False. commodity: ISO currency code ("USD") or stock/fund symbol ("VTSAX"). Defaults to book's default currency. commodity_namespace: "CURRENCY" (default), "FUND", or an exchange ("NASDAQ", "NYSE"). Required with non-currency commodities. notes: Optional free-text notes (max 4096 bytes). Shows in GnuCash desktop's account editor Notes field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| notes | No | ||
| parent | No | ||
| commodity | No | ||
| description | No | ||
| placeholder | No | ||
| account_type | Yes | ||
| commodity_namespace | No | CURRENCY |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |