xtiles_get_view_content
Read the content of a specific xTiles view (page) by viewId. For a regular page: returns the title plus markdown body. A page description reads as a <description shown="true|false"> tag right under the page heading, before the first tile — inline Markdown; in a page read, no tag means no description. Change it with update_description in xtiles_update_content if it is in your tool list, otherwise with xtiles_set_page_description — that tool replaces the whole description, so read it first. For a collection (database) page: returns the collection schema — its attributes (columns) with id, title, and type, plus the list of collection views (id, type, title). To fetch the actual rows of a collection, follow up with xtiles_get_collection_content using one of the listed collection view IDs. Read with format: "tags", a regular page comes as <tile data-id=…> tags holding one tag per block, named for its kind (<text>, <header>, <task>…) — a block's properties are its attributes and its text is inside; xtiles_update_content changes them by those ids. This is how a page READS; the *_from_markdown tools still take plain markdown with ##/### headings, as the guides describe — and a task there is <task dueDate="…">, not the due_date attribute this reading shows. READ FORMAT: by default (format: "markdown") the content is plain markdown, the text xtiles_patch_view_content edits. Pass format: "tags" to read it as tags instead — a <page> with its url, <tile data-id> tags holding one tag per block, each table a <table url=… schema=…> tag, a collection page with its collection URL — with the ids, data-versions and links that xtiles_update_content, xtiles_create_nested and the table tools take. To edit by id, or to work with a table or a collection, read with format: "tags" first, and take every id, version and link from that reading. If you are going to edit, or to work with a table or a collection, and xtiles_update_content and the table tools are in your tool list, read with format: "tags" straight away. The markdown reading is for reading only, or for a client that does not have them.
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": {
"viewId": "<viewId>"
},
"name": "xtiles_get_view_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | How the content is read. `"markdown"` (default): plain markdown. `"tags"`: the page as `<page>` / `<tile data-id>` tags holding one tag per block, with the ids, `data-version`s and links (`url`, `nested_url`) that `xtiles_update_content` and `xtiles_create_nested` take, and each table as a `<table url=… schema=…>` tag whose `url` the table tools take. Read with `"tags"` before calling any of those tools. | |
| viewId | Yes | View ID of an xTiles page. You can also extract it from a page URL — it is the last path segment, whatever the domain, e.g. `https://xtiles.app/6740858058af8a09bf6096e6` → viewId is `6740858058af8a09bf6096e6`. Discover IDs programmatically via `xtiles_list_projects` or `xtiles_get_project_content`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| access | No | ||
| content | No | ||
| view_id | No | ||
| collection | No | ||
| project_id | No | ||
| project_title | No |