# updateContentView

Mutation

Partial-update a saved content (media deck) view.

Available to agents as MCP tool `updateContentView` — see [Write tools](/api/v2/docs/mcp/write-tools#update-content-view).

## Arguments

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `id` | `ID!` | Yes | — | FilterPreset UUID of the content view to update. |
| `input` | [`UpdateContentViewInput!`](/api/v2/docs/types/update-content-view-input) | Yes | — | Partial-update input. Only provided fields are updated. |

## Returns

| Name | Type | Description |
| --- | --- | --- |
| `contentView` | [`ContentView`](/api/v2/docs/types/content-view) | The updated content view. Null on validation failure or when the view was not found. |
| `userErrors` | [`[UserError!]!`](/api/v2/docs/types/user-error) | List of user-facing validation errors. Empty on success. |

## Examples

### Update a content view

Partial-update a saved media-deck view.

```graphql
mutation UpdateContentViewDefault($id: ID!, $input: UpdateContentViewInput!) {
  updateContentView(id: $id, input: $input) {
    contentView {
      id
      name
      filters
    }
    userErrors {
      field
      message
    }
  }
}
```

Variables:

```json
{
  "id": "eaa824b8-374f-5db8-bee2-51dfd8c3776c",
  "input": {
    "name": "All Northwind Content (Renamed)"
  }
}
```

Response — HTTP 200:

```json
{
  "data": {
    "updateContentView": {
      "contentView": {
        "id": "eaa824b8-374f-5db8-bee2-51dfd8c3776c",
        "name": "All Northwind Content (Renamed)",
        "filters": {}
      },
      "userErrors": []
    }
  }
}
```
