generate_plugin_migration
Generate a database migration for a plugin by specifying version, description, and table definitions with columns and indexes.
Instructions
Generate a new database migration for a specific plugin with table definitions
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": {
"pluginId": "<pluginId>",
"version": "<version>",
"description": "<description>",
"tables": "<tables>"
},
"name": "generate_plugin_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | Yes | Array of table definitions to create | |
| version | Yes | Migration version (e.g., 1.1.0) | |
| pluginId | Yes | Kebab-case plugin identifier (e.g., my-plugin) | |
| description | Yes | Description of the migration (e.g., Add settings table) |