Generate test data
generate_test_dataGenerate a fresh synthetic dataset for a project and return it as SQL INSERT statements. Optionally set rows per table. The data is foreign-key consistent.
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": "<project>"
},
"name": "generate_test_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Rows per table (optional; plan limits apply) | |
| seed | No | Seed for deterministic output (optional) | |
| project | Yes | Project id (UUID) or project name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | No | Complete SQL INSERTs. Absent when the result is too large — download it from download_url instead; no partial SQL is ever returned. | |
| status | Yes | ||
| sql_chars | No | ||
| truncated | No | True when the SQL was too large to inline. The response then contains NO sql; fetch the complete file from download_url. | |
| download_url | No | Authenticated download endpoint for the complete SQL (send your API key as 'Authorization: Bearer …'). | |
| generation_id | Yes |