Preview a dashboard tile
helix_foundry_preview_dashboard_tileCheck a dashboard tile and read its query once, as you, before you put it in a dashboard: returns its output, or why it has none. A spec is {"v": 1, "tiles": [...], "layout": {"rows": [["t1", "t2"], ["t3"]]}}: at most 20 tiles, each in exactly one row of 1 to 3. A tile is {"id": "t1" (1 to 32 lowercase letters, digits, - or _, starting with a letter or digit), "title": 1 to 80 characters, "ontology_id", "load": {"kind": "current"} (whichever load is current when it is viewed) or {"kind": "pinned", "load_id"}, "query": a typed query, the query read of helix_foundry_read_graph (helix_foundry_read_guide gives its schema): at most 200 rows or 100 groups, "visual": {"kind": "table" | "bar" | "line" | "figure"} or {} to show it as its output suits}. An answer's visual (helix_foundry_ask's) is a tile already: its question's queries[].query with the visual's kind and title.
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": {
"tile": "<tile>"
},
"name": "helix_foundry_preview_dashboard_tile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tile | Yes | The tile, as a spec holds it. | |
| workspace_id | No | Helix workspace identifier. May be empty when the caller has only one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tile | Yes | The tile as a spec would keep it. | |
| as_of | Yes | ||
| load_id | Yes | ||
| outcome | Yes | Untrusted outcome of the tile's query: {ok: its answer} or {error: why it has none}. An integer past 2^53 comes as a string of its digits, which JSON numbers would round. | |
| content_trust | Yes |