> ## 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.

# Refresh Sheets Chart

> Updates and refreshes all Google Sheets charts or specific charts using alt text or chart id

Updates and refreshes all Google Sheets charts or specific charts using alt text or chart id

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

## Inputs

| Field               | Type                       | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------------- | -------------------------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `presentation`      | string                     | Yes      | -       | Google Slides presentation URL or ID. You must ask the user for it if not provided.                                                                                                                                                                                                                                                                                                                                                                                                 |
| `refresh_type`      | string or SelectableOption | Yes      | -       | Whether to refresh all charts or specific charts. Available options: 'all' - Refresh all Google Sheets charts in the presentation (DEFAULT) 'specific' - Refresh only specified charts using identifiers  **'Refresh all charts' is recommended** for most use cases as it's simpler and ensures all data is current.                                                                                                                                                               |
| `identifier_type`   | string or SelectableOption | No       | -       | Type of identifier used to select specific charts. REQUIRED when refresh\_type is 'specific'. MUST BE NULL/EMPTY when refresh\_type is 'all' - clear this field if refresh\_type changes to 'all'. Available options: 'chart\_id' - Use Google Sheets chart IDs to identify charts 'alt\_text' - Use alt text values to identify charts (RECOMMENDED)  **Alt text is recommended** as it's easier to work with than chart IDs.                                                      |
| `chart_identifiers` | array of string            | No       | -       | List of chart IDs or alt texts to refresh. REQUIRED when refresh\_type is 'specific'. MUST BE NULL/EMPTY when refresh\_type is 'all' - clear this field if refresh\_type changes to 'all'.  When identifier\_type is 'chart\_id': List of Google Sheets chart IDs When identifier\_type is 'alt\_text': List of alt text values assigned to charts  Examples:  - Chart IDs: \['1234567890', '0987654321'] - Alt texts: \['Sales Chart', 'Revenue Dashboard', 'Performance Metrics'] |
| `slide_number`      | integer                    | No       | -       | Optional slide number to refresh charts on only that slide (1-based indexing). Leave empty to refresh charts on all slides in the presentation. Must be a positive integer if specified. Example: 1 for first slide, 2 for second slide, etc.                                                                                                                                                                                                                                       |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `str`

Returns success message with refresh count.
