Restore Sheet View
view.restoreBring back a deleted view with its settings, by the sheetId and viewId view.delete returned. A Charts view comes back with its dashboard and widgets.
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": {
"sheetId": "<sheetId>",
"viewId": "<viewId>"
},
"name": "view.restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viewId | Yes | The deleted view's id, as view.delete returned it. | |
| sheetId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| viewId | Yes | ||
| sheetId | Yes | ||
| restored | Yes | ||
| dashboardId | No | For a Charts view: the dashboard that came back with it |