generate_plugin
Generate a complete plugin scaffold with configuration files, TypeScript source, database migrations, routes, and registry entry.
Instructions
Generate complete plugin scaffolding with package.json, index.ts, tsconfig.json, migrations, routes, and registry entry
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>",
"displayName": "<displayName>",
"description": "<description>"
},
"name": "generate_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| author | No | Plugin author (optional, default: FrameIO Developer) | |
| tables | No | Table definitions for migrations (optional, generates default items table if empty) | |
| pluginId | Yes | Kebab-case plugin identifier (e.g., my-plugin) | |
| description | Yes | Plugin description | |
| displayName | Yes | Human-readable plugin name (e.g., My Plugin) | |
| permissions | No | Custom permissions (optional, defaults to read/manage) | |
| includeRoutes | No | Generate backend route file (default: true) | |
| includeMigrations | No | Generate database migration file (default: true) | |
| includeBackgroundWorkers | No | Generate startBackgroundWorkers stub for scheduled jobs, event handlers, or escalation logic (default: false) |