Create a saved view
create_saved_viewSaves a named view (columns, filters, sort) on one data table, optionally as the user's favorite or default. Returns the view id.
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": {
"model": "<model>",
"name": "<name>",
"query_data": "<query_data>"
},
"name": "create_saved_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model | Yes | The table's model class, e.g. App\Models\Product. | |
| dry_run | No | Validate only; saves nothing. | |
| is_shared | No | ||
| query_data | Yes | A JSON string: {columns: {visible: [...]}, search, filterGroups (base64), sortBy, pagination}. | |
| idempotency_key | No | A repeat with this key replays the first result. | |
| is_user_default | No | ||
| is_user_favorite | No |