xtiles_create_project_from_markdown
Create a new xTiles project from Markdown. The first # heading becomes the project title; ## headings become views; ### headings become tiles. At least one ## heading is required — a project with no views cannot be created. Returns the new project_id, view_id, and resource_url (a link that opens the created project in the xTiles web app; null if no view was created). If workspaceId is omitted, the first available workspace is used automatically. A table may declare its column types with a <table schema='…'> tag — the schema a read prints; it works on a table in a tile and on a collection page (a ## heading with the table right under it). What a collection holds and how to decide it: xtiles://guide/markdown/collections, after xtiles://guide/markdown/overview; the full grammar of the tag: xtiles://guide/markdown/tables. A relation column exists only on a collection page: RELATION(<url of the target collection>), its cells naming target records by the ids a read of that collection returns (Title (id)), never by title alone; a collection created in the same call cannot be a target — create the collection it points at first, then the one with the relation column in a call of its own. A relation column is one-way: the other collection shows nothing of it — tell the person, and that the other side is switched on in the app. A record's details — a description, notes, steps — go into its nested tile, which every record has from the start, never into a column: after the write, read the collection's rows and open each record by its own link.
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": {
"markdown": "<markdown>"
},
"name": "xtiles_create_project_from_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | Markdown content for the new project. The first `#` heading becomes the project title; `##` headings become views (at least one required); `###` 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. | |
| workspaceId | No | Workspace ID to create the project in. If omitted, the first available workspace is used automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_id | No | ||
| project_id | No | ||
| resource_url | No |