get_portfolio_breakdown that is unique to Coinbase, given the response structure of Coinbase Advanced API.
Coinbase support is read-only for now. Order placement and trade execution are not yet exposed but are currently on the roadmap
What are the exposed tools?
The following tools are available when using the Coinbase provider:| Tool | Description |
|---|---|
coinbase_get_account | A single brokerage account (primary by default, or by UUID) |
coinbase_list_accounts | All brokerage accounts for this user |
coinbase_list_portfolios | Available portfolios (id, name, type, deleted) |
coinbase_get_portfolio_breakdown | Snapshot of balances + positions for a portfolio UUID |
coinbase_list_positions | Flattened positions derived from portfolio breakdown |
coinbase_list_assets | Brokerage products (e.g. BTC-USD) mapped to Asset |
coinbase_get_asset | A single product by product_id (e.g. BTC-USD) |
coinbase_list_orders | Orders with optional filters (status, time window, symbols, side) |
coinbase_get_order | A single order by order_id |
Quick example
Below is a quick way to construct a Coinbase trading service which exposes all available tools:tools can be passed into a tool loop, like with run_with_tools, or bound to a framework adapter.
What are the authentication options?
Our Coinbase integrations supports multiple auth patterns:- API key + PEM private key (recommended)
- Bearer token (pre-built token)
- Authorization header mapping (custom)
AuthError to avoid ambiguous configuration. The simplest option is to provide an API key name and PEM private key. OpenTools will generate a short-lived JWT per request (signed with your PEM key) and attach it as a Bearer token automatically.
What are all the configuration options?
Coinbase supports all shared Trading features:-
Paper/live
Usepaper=Trueto target Coinbase’s sandbox environment. -
Minimal
Setminimal=Trueto omit provider metadata and reduce token usage. -
Include/Exclude
Control which tools are exposed to the model usingincludeandexclude. -
Framework binding
Optionally passframework=langgraphorframework=pydanticaito expose tools in a framework-native format.