Export site data
export_site_dataExport the records in a collection, up to 5000 (the store holds far more; a bigger collection comes back cut off, and the result says so with truncated: true). It is also the only call that reports a total: count is how many came back, so while truncated is false it is the whole collection. query_site_records reads at most 200 records and cannot page past them, so it can never total a collection. Use for backup or analysis. Scoped to a site you can edit.
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": {
"site_id": "<site_id>",
"collection": "<collection>"
},
"name": "export_site_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site that owns the collection | |
| collection | Yes | The collection to export | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |