Skip to content

Settings

Read, change and reset chart settings.

Generated from the pinned chart source (1aa5e22). Descriptions are the exact text the model receives.

settings_get

Get chart settingsRead-onlyChart coreSource

Read the current chart preferences (theme, grid, axes, time zone, tooltip, renderer, cache limit, colors) and the schema of writable keys with their allowed values.

Parameters

This tool takes no input.

JSON Schema
…

settings_update

Update chart settingsModifies the chartRuns in orderChart coreSource

Apply one or more chart preferences immediately, e.g. {"values":{"theme":"light","showGridLines":false}}. Call settings_get first for allowed keys and values. The same action backs the settings dialog, so the user sees the change at once.

Parameters

NameTypeRequiredConstraintsDescription
valuesrecordYes—

Minimal input · Required fields only; placeholders are derived from the schema.

{
  "values": {}
}
JSON Schema
…

settings_reset

Reset chart settingsModifies the chartRuns in orderChart coreSource

Restore chart preferences to their defaults. Pass "keys" to reset only those settings; omit it to reset everything. Returns the previous values.

Parameters

NameTypeRequiredConstraintsDescription
keysstring[]—min items 1; item min length 1

Minimal input · Required fields only; placeholders are derived from the schema.

{}
JSON Schema
…

On this page