> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Chart

> Retrieves chart information like id, alt text, this node should be used in pair with slides_add_sheets_chart to embed charts into Google Slides presentations

Retrieves chart information like id, alt text, this node should be used in pair with slides\_add\_sheets\_chart to embed charts into Google Slides presentations

|                      |                    |
| -------------------- | ------------------ |
| **App**              | Google Sheets      |
| **Operation ID**     | `sheets_get_chart` |
| **Type**             | Action             |
| **Connection**       | `drive` (optional) |
| **Credits per run**  | 1                  |
| **Agent / MCP tool** | Yes                |

## Inputs

| Field         | Type                 | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ------------- | -------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `spreadsheet` | string               | Yes      | -       | Google Sheets spreadsheet URL or ID. You must ask the user for it if not provided.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `sheet`       | string or SelectItem | Yes      | -       | The sheet to read data from. You can provide this in several ways: 1. If user provides just a sheet name, fill the object like this \{'label': 'Sheet1', 'value': 'Sheet1'} 2. If user provides only a sheet ID: Format as \{'label': '123456', 'value': '123456'} 3. If user provides dynamic values: Use the template syntax (e.g., '\{\{nodeId\_data\_sheet}}') 4. If user selects from dropdown: they will ge this format \{'label': 'Sheet1', 'value': '123456'}  If user doesn't provide sheet information, ask them to specify the sheet name or select from available sheets using the dropdown menu. |
| `alt_text`    | string               | Yes      | -       | Alt text identifier for the chart you want to retrieve. This is used to locate the specific chart within the sheet. Charts can be identified by their alt text, title, or description properties.                                                                                                                                                                                                                                                                                                                                                                                                             |

### SelectItem

| Field   | Type   | Required | Default | Description                                                                                          |
| ------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------- |
| `value` | string | Yes      | -       | The value of the selectable item.                                                                    |
| `label` | string | Yes      | -       | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `Dict`

Returns chart metadata for embedding in slides.

**Fields**: `chart_id`, `spreadsheet_id`, `sheet_id`, `alt_text`, `title`, `chart_type`, `position`
