xtiles_get_page_layout
Read the grid layout of an xTiles page (view) by viewId: every tile with its title and grid position (x, y, w, h), plus the grid width, the visible height (pages grow further down) and the minimum tile size. Coordinates use the xTiles grid — (x, y) is the tile’s top-left corner and (w, h) is its size, in grid cells. Use this to inspect tile placement and valid bounds before repositioning with xtiles_set_page_layout. On a text page the tile layout is fixed and the answer says it is not editable. Which colours, styles, sizes and positions to use: xtiles://guide/markdown/design.
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_page_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| grid | Yes | ||
| tiles | Yes | ||
| view_id | Yes | ||
| editable | No |