seed_from_template
Creates a plan-first, foreign-key-aware seed workflow from ecommerce, POS, or CRM templates by detecting matching tables and returning a seed plan for preview or execution.
Instructions
🌱 TEMPLATE SEEDER: Creates a plan-first FK-aware seed workflow from ecommerce, POS, or CRM templates. It detects matching tables, applies domain rules, and returns a seed plan for preview/execution.
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": {
"template": "<template>"
},
"name": "seed_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Template size preset (default: small) | |
| exclude | No | Optional table names to ignore during template matching | |
| include | No | Optional concrete table list to seed instead of auto-detected template matches | |
| database | No | Optional: specific connected database name | |
| template | Yes | Business seed template to apply | |
| random_seed | No | Deterministic seed for repeatable preview and execution | |
| rows_per_table | No | Optional row-count override for the generated plan | |
| include_children | No | Include child tables that reference included template tables (default: false) | |
| include_dependencies | No | Include parent tables required by foreign keys (default: true) | |
| require_confirmation | No | Require confirm_token for non-dry-run execution (default: true) | |
| respect_existing_data | No | Reuse existing parent records when possible instead of creating new parent rows (default: true) |