xtiles_create_view_from_markdown
Destructive
Create a new view (page) inside an existing xTiles project from Markdown. The first ## heading becomes the view title; ### headings become tiles. Returns the new view_id and resource_url (a link that opens the created page in the xTiles web app). Use xtiles_list_projects to find the projectId.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | Markdown content for the new view. The first `##` heading becomes the view title; `###` headings become tiles. Full syntax: read resource `xtiles://guide/markdown/overview` or call `xtiles_get_docs`. Write each tile with its colour and style (`@color` / `@colorSize` under its `###`), so it arrives designed; which values to choose is in `xtiles://guide/markdown/design` — read it after the overview, before writing. | |
| projectId | Yes | Project (document) ID to create the new view in (use xtiles_list_projects to discover). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_id | No | ||
| project_id | No | ||
| resource_url | No |