Droost: Views Get
droost_views_get Read-only
Module: Droost ViewsReads any view as an abstract per-display model — inheritance resolved, filters/sorts in compose vocabulary, Canvas component ids named for block displays. The verify step after composing, and the reconnaissance step before replacing a hand-built view.
Example call
{
"tool": "droost_views_get",
"arguments": {
"view": "tools"
}
}
Example response — captured live on this site
{
"success": true,
"message": "View \"tools\" (Tool reference): 3 display(s), page at /tools, Canvas-placeable as block.views_block.tools-featured.",
"data": {
"id": "tools",
"label": "Tool reference",
"description": "Every Droost MCP tool, imported from the live registry. Composed by droost_views_compose.",
"base_table": "node_field_data",
"status": true,
"displays": {
"default": {
"id": "default",
"plugin": "default",
"title": "Tool reference",
"row": {
"plugin": "entity:node",
"view_mode": "teaser"
},
"style": {
"plugin": "grid",
"columns": 3
},
"pager": {
"plugin": "mini",
"items_per_page": 18,
"offset": 0
},
"filters": [
{
"id": "field_tool_module",
"field": "field_tool_module",
"plugin": "list_field",
"operator": "or",
"value": [],
"exposed": true,
"label": "Module",
"identifier": "module"
… (truncated — run it yourself for the rest)
Reads a view as an abstract model: per display (with default-display option inheritance resolved) the row rendering (entity + view mode), style, pager, path, filters (field, op, value, exposed), sorts, and — for block displays — the Canvas component id the block is placeable as. Omit "view" to list all views (id, label, base table, displays). Read-only.
Input schema (JSON Schema)
{
"type": "object",
"properties": {
"view": {
"type": "string",
"description": "View machine name, e.g. \"vehicles\". Omit to list all views."
}
}
}
Droost