Set the portfolio chart
set_chartSet portfolio chart mode, date range, benchmarks or visible lines in the selected dashboard. range and from are mutually exclusive — a from-date shows [that day → today] and deselects every range button, a range clears the date, and sending both in one call is refused (from: "all" beside a range only clears the date).
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": "set_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | ||
| mode | No | ||
| range | No | ||
| lines_on | No | ||
| lines_off | No | ||
| dashboardId | No | Which live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected. | |
| benchmarks_on | No | ||
| benchmarks_off | No | ||
| idempotencyKey | No | ||
| expectedRevision | No |