xtiles_get_collection_content
Fetch rows from an xTiles collection (database) view as CSV with pagination. Prerequisite: call xtiles_get_view_content for the collection page to learn its collection.views[] and pick a collection_view_id. The CSV header reflects the columns visible in that collection view; column types and IDs come from the collection schema. Note: server-side filtering is not yet exposed via this endpoint — apply any required filters client-side after fetching, or page through results until the desired rows are found. If xtiles_read_table_rows is in your tool list, read rows with it instead — it filters and sorts on the server and gives each row its id and link, and xtiles_write_table_rows changes rows; it takes the collection URL that reading the collection page with format: "tags" shows. Use this tool only when it is not.
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>",
"collection_view_id": "<collection_view_id>"
},
"name": "xtiles_get_collection_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based — the first page is 1. Defaults to 1. | |
| 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`. This must be the viewId of a collection (database) page. Use `xtiles_get_view_content` first to discover the schema and pick a `collection_view_id`. | |
| per_page | No | Page size, 1–100. Defaults to 100. | |
| time_zone | No | IANA time zone (e.g. "Europe/Kyiv") used to render date/datetime fields. | |
| collection_view_id | Yes | ID of a specific collection view (table, board, gallery, etc.) within the collection. Discover via `xtiles_get_view_content` — it returns `collection.views[]` with their IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| content | No | ||
| view_id | No | ||
| pagination | No | ||
| project_id | No | ||
| collection_view_id | No |