create_view
Save a SELECT query as a named view to reuse it across sessions. Provide a description for future reference; set replace=true to redefine an existing view.
Instructions
Save a SELECT as a named view: a reusable query skill. Give it a description so future sessions know what it is for; it is stored inside the view and shown by get_schema. With replace=true an existing view is redefined and its previous definition is kept in query_log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | View name: letters, digits and underscores, not starting with a digit. | |
| replace | No | Redefine the view if it already exists. | |
| select_sql | Yes | The SELECT the view stands for. | |
| description | No | What the view is for; stored inside the definition. |