Update view
update_viewChange a saved view in place: new source, title, spec_version or state. Pass only what changes. The artifact_id, its brain object and any share link stay the same.
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": {
"artifact_id": "<artifact_id>"
},
"name": "update_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | The view's saved state values, keyed by name. | |
| title | No | A new name for the view. | |
| source | No | The whole view in the view language, one statement per line. | |
| artifact_id | Yes | An artifact_id from generate_view or list_artifacts. | |
| spec_version | No | The view library version the source was written against. |