The user's saved custom views, or one view with its rows
get_viewsWithout viewId: lists the user's saved custom views (id, name, source, chart type, columns, who made it, whether it is on the dashboard). With viewId: that view's full spec plus its result, computed by the app from the user's real data: columns, rows (up to 200), totals and KPIs. Use the spec when editing a view with manage_view. Views belong to the user, not to one portfolio; profile picks whose numbers a run shows. range applies with viewId only.
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_views"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | The period to run it over, for views whose source has one and whose spec follows the dashboard: 1m (default), 3m, ytd, 1y or all. A spec that fixes its own range keeps it. | |
| viewId | No | Optional; omit to list every view: the `id` of a saved view, exactly as get_views returns it. | |
| profile | No | Which portfolio to read, for accounts with more than one: its id, or its name (exact, case-insensitive, e.g. "Trading"). Omit to read this connection's default portfolio; every answer names the portfolio it read in `profile`. An unknown or shared name returns profile_not_found or profile_ambiguous listing the real ones, and list_profiles shows them up front. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | With viewId: the view, plus its full `spec`. | |
| as_of | No | When it was computed, epoch ms. | |
| count | No | How many views the user has. | |
| error | No | Present ONLY when the call was refused instead of answered: upgrade_required (Pro plan needed), not_found, profile_not_found, profile_ambiguous, invalid_arguments, write_not_permitted, rate_limited, limit_reached, view_unavailable. No data fields come with it; read `message` to the user rather than retrying the same call. | |
| range | No | The period it was run over. | |
| views | No | Without viewId: the user's views, most recently edited first. | |
| result | No | With viewId: what it shows now. | |
| message | No | Plain-language explanation that accompanies `error`, `data_status` or a proposed change. Read it to the user. | |
| profile | No | The portfolio these figures belong to (absent on list_profiles). | |
| view_url | No | The view in the app. | |
| next_step | No | What the user should do about data_status. | |
| source_url | No | Link to the page in the WhereItGoes app that shows this data. | |
| views_note | No | ||
| data_status | No | Present only when the portfolio has no data yet. nothing_connected: no exchange and no wallet is connected, so empty lists and zeros mean "no data", NOT a $0 portfolio, and no data fields come with it (except on get_connections, get_alerts, get_target_allocation and list_profiles, which also answer). Send the user to next_step. syncing: a source is connected but its first sync is still running, so figures are partial and not final. | |
| upgrade_url | No | Where the user can upgrade, on an upgrade_required refusal. | |
| stock_assets | No | Present when the answer mentions Binance Stocks shares (EQ_<ticker>): they are US stocks, not crypto. |