Insert chart into Slides
insert_chart_into_slidesInserts a chart created earlier with visualize_data or create_chart into a Google Slides deck the user has open, as an editable ChartKit chart. It lands on the slide the user has selected, or on slide_number if given. With mode "open" the chart opens in the ChartKit editor in the deck rather than being committed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chart_id": "<chart_id>"
},
"name": "insert_chart_into_slides"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | No | Which open deck: a Google Slides URL or part of its title. Omit for the deck the user focused last. | |
| mode | No | "commit" (default) places the chart; "open" opens it in the editor. | |
| chart_id | Yes | Chart id returned by visualize_data or create_chart. | |
| slide_number | No | 1-based slide to put the chart on. Omit for the selected slide. |