Preview generated data
preview_dataGenerate this project's data and return the rows themselves.
Capped at fifty rows a table so the answer stays readable; every table
says how many rows it really has. Use `write_data` for the whole set.
`rows` overrides the project's row count, `seed` pins the values,
`as_of` (YYYY-MM-DD) pins the day dates are placed around, and `locale`
overrides the project's. Leave them out and the project's own settings
are used, which are the ones the studio previewed.
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": {
"project_id": "<project_id>"
},
"name": "preview_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| seed | No | ||
| as_of | No | ||
| locale | No | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |