get_portfolio
Retrieve a portfolio snapshot for a non-IRA Public.com account, including positions, equity breakdown, buying power, open orders, and cash availability.
Instructions
Get a snapshot of the account portfolio.
Returns positions, equity breakdown, buying power, open orders, and cash/withdrawal figures (including cash, totalAccountValue, and availableToWithdraw). Only non-IRA accounts are supported.
Args: account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |