files_delete_chart
Deletes a native chart by id. Chart ids come from files_add_chart or the sheet context. This deletes only native charts (created with files_add_chart or the Insert menu); Python (Altair) charts are code cells — remove them with files_delete. Requires edit permission. Signature: files_delete_chart(file_uuid, chart_id, sheet?).
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": {
"file_uuid": "<file_uuid>",
"chart_id": "<chart_id>"
},
"name": "files_delete_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | Sheet name (defaults to the first sheet). | |
| chart_id | Yes | Id of the chart to delete. | |
| file_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_uuid | Yes | ||
| sequence_number | Yes |