xtiles_create_nested
Give a block nested content it does not have yet — content of its own that the app opens from the block (a task's description is one). Pass the url of the tile the block is in (its <tile url> from a reading) and the block's data-id as block_id. kind is required: "tile" — one tile of details; a nested page or project is not supported yet. markdown: the new tile's first blocks as plain Markdown — not block tags; a heading becomes a header block. When you know what goes in, pass it here, in this call — not an empty tile filled by a second call. Left out, the tile is made empty: its reading has no <tile>, and an edit at its nested_url sends no version for it. No versions here. Returns the new tile's reading and its nested_url, the block's link from now on: read it with xtiles_get_content_by_link and edit it with xtiles_update_content there. A block that reads nested="…" already holds nested content — go to its nested_url instead; called for it, this is refused (409) with that nested_url in the message: use it, do not retry. A planner widget's task (syn-…) gets its tile on its own block, on the page the task was written on — the answer's view_id. A record of a collection already has its nested tile — never create one for it: reading the collection's rows gives each record its own link; open the record by it and edit there. What this tool is addressed by comes from a reading made with format: "tags" (xtiles_get_view_content, xtiles_get_content_by_link, xtiles_get_project_content, xtiles_get_planner_content); the default reading is plain markdown and shows none of it.
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": {
"url": "<url>",
"block_id": "<block_id>",
"kind": "<kind>"
},
"name": "xtiles_create_nested"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The `url` of the tile the block is in — its `<tile url>` as read (a nested tile's `nested_url` too); not a page's url. | |
| kind | Yes | What to nest in the block: "tile" (one tile of details). A nested page or project is not supported yet. | |
| block_id | Yes | The block's `data-id`, in that tile. | |
| markdown | No | The new tile's first blocks, as plain Markdown — not block tags; a heading becomes a header block. Leave it out for an empty tile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| content | No | ||
| tile_id | No | ||
| view_id | No | ||
| nested_url | No | ||
| project_id | No |