Views Export
views_exportExport a Drupal view as configuration YAML or JSON for backup, version control, or migration by specifying the view ID and optional format.
Instructions
Export a view as configuration YAML or JSON.
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_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | yaml | |
| view_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||