analyze_schema
Parse a database schema to confirm its structure, tables, columns, relationships, and seed data ordering before generating test data.
Instructions
Parse a database schema (SQL CREATE TABLE statements or a JSON schema) and report its tables, columns, relationships, and the order seed data would be generated in. Use this first to confirm SeedWeaver understands the schema correctly.
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": {
"schema": "<schema>"
},
"name": "analyze_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | The schema to analyze: either raw SQL DDL (CREATE TABLE ...) or a JSON schema object with a 'tables' array. |