Views Update
views_updateUpdate an existing Drupal view by ID, changing its fields, filters, sorts, pager, display, and other settings through the site's view configuration.
Instructions
Update an existing view.
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": {
"view_id": "<view_id>"
},
"name": "views_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | No | ||
| page | No | ||
| sort | No | ||
| empty | No | ||
| label | No | ||
| pager | No | ||
| query | No | ||
| style | No | ||
| fields | No | ||
| filter | No | ||
| footer | No | ||
| header | No | ||
| display | No | ||
| view_id | Yes | ||
| arguments | No | ||
| description | No | ||
| relationships | No | ||
| contextual_filters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||