get_orders
Retrieve all open and active orders on a Public.com brokerage account, including symbol, side, type, status, quantity, and prices.
Instructions
Get all open/active orders on the account.
Fetches the account portfolio and returns only the orders list. Returns order details including symbol, side, type, status, quantity, and prices.
Orders that belong to a bracket carry a bracketId — the order ID of the bracket's entry order — which groups the entry and its exit legs together.
Args: account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |