layout.generate_code
Generate React, Vue, Svelte, Astro, or HTML code from a section pattern ID. Choose framework, TypeScript/JavaScript, and Tailwind/Vanilla CSS options for responsive output.
Instructions
セクションパターンからReact/Vue/Svelte/Astro/HTMLコードを生成します。パターンIDを指定して、選択したフレームワーク(React, Vue, Svelte, Astro, HTML)でコードを出力できます。TypeScript/JavaScript、Tailwind CSS/Vanilla CSSの選択も可能です。
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": {
"patternId": "<patternId>"
},
"name": "layout.generate_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | コード生成オプション | |
| patternId | Yes | セクションパターンID(UUID形式、必須) |