Better Stack

telemetry_edit_chart_tool

Edit an existing chart name, query, type, or settings. Only provide the fields you want to change. **IMPORTANT: If changing the query:** If you haven't already verified the new query by previewing with `telemetry_chart` (which runs the query and reports errors automatically), test it with `telemetry_query` first before updating the chart. Call get_chart_building_instructions for chart type and settings reference. Use get_dashboard_details first to find the chart ID

Remote betterstack

Other tools also called telemetry_edit_chart_tool? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The ID of the chart to edit"
    },
    "name": {
      "type": "string",
      "description": "New name for the chart"
    },
    "query": {
      "type": "string",
      "description": "New SQL query for the chart"
    },
    "settings": {
      "type": "object",
      "properties": {
        "unit": {
          "type": "string",
          "description": "Value format: percent, B_si, B_iec, ms, s, shortened, e/s, rps, none, auto"
        },
        "legend": {
          "enum": [
            "hidden",
            "shown_below",
            "shown_right"
          ],
          "type": "string",
          "description": "Legend placement"
        },
        "stacking": {
          "enum": [
            "dont_stack",
            "stack",
            "stack_to_100"
          ],
          "type": "string",
          "description": "Stacking mode for line/bar charts"
        },
        "y_axis_max": {
          "type": "number",
          "description": "Y-axis maximum value (use 1 for 0-1 ratios with percent unit)"
        },
        "y_axis_min": {
          "type": "number",
          "description": "Y-axis minimum value"
        },
        "y_axis_scale": {
          "enum": [
            "linear",
            "log"
          ],
          "type": "string",
          "description": "Y-axis scale type"
        },
        "series_column": {
          "type": "string",
          "description": "Column that groups data into series (e.g., 'service', 'host')"
        },
        "value_columns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Which result columns contain numeric data to chart (optional, inferred from query results). Must match column names/aliases from the SQL query."
        },
        "decimal_places": {
          "type": "number",
          "description": "Number of decimal places for values"
        },
        "treat_missing_values": {
          "enum": [
            "connected",
            "disconnected",
            "zero",
            "previous"
          ],
          "type": "string",
          "description": "How to handle gaps in data"
        }
      },
      "description": "Chart display settings"
    },
    "chart_type": {
      "enum": [
        "line_chart",
        "bar_chart",
        "number_chart",
        "table_chart",
        "pie_chart",
        "heatmap_chart",
        "scatter_chart",
        "gauge_chart",
        "static_text_chart"
      ],
      "type": "string",
      "description": "New chart type"
    },
    "source_variable": {
      "type": "string",
      "description": "Source variable name used in the query"
    }
  }
}