query_view
Paginated query against a data view's cached result. REST-syntax include/exclude/sort, same vocabulary as query_collection. View data is freeform — call describe_view first to learn the field set before composing filters. limit is capped at 50; use offset to paginate larger views.
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": {
"id": "<id>"
},
"name": "query_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | View id from list_views. | |
| sort | No | Sort spec, e.g. "date:desc". | |
| limit | No | ||
| format | No | Forward-compat with query_collection; no effect today since view data is freeform. | markdown |
| locale | No | Forward-compat for 3.6 i18n. | |
| offset | No | ||
| exclude | No | REST-style negative filter. | |
| include | No | REST-style filter, e.g. "category:tech,published:true". Field names depend on the view's output shape. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Items in the requested page. Field set varies by view; call describe_view for the shape. | |
| limit | Yes | Effective cap applied to this response. | |
| total | Yes | ||
| offset | Yes | ||
| has_more | Yes |