shared_upsertSavedView

WRITE

Upsert saved view.

Parameters

namestringrequired
tablestringrequired
typeenumrequired
idstringoptional
descriptionstringoptional
filtersstring[]optional
sortsstring[]optional
columnPinninganyoptional
columnVisibilityanyoptional
columnOrderstring[]optional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "shared_upsertSavedView",
  "arguments": {
    "name": "string",
    "table": "string",
    "type": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "table": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "Public",
        "Private"
      ]
    },
    "filters": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sorts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "columnPinning": {},
    "columnVisibility": {},
    "columnOrder": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "name",
    "table",
    "type"
  ]
}