generate_frontend
Generate Next.js frontend code for Arbitrum dApps using wagmi v2 and RainbowKit. Create contract-integrated interfaces with specified templates and UI frameworks.
Instructions
Generate Next.js frontend code for Arbitrum dApps. Uses wagmi v2 and RainbowKit.
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": {
"prompt": "<prompt>"
},
"name": "generate_frontend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the frontend functionality needed | |
| template | No | Specific template to use (auto-selected if not provided) | |
| contract_abi | No | Contract ABI JSON string for generating hooks | |
| contract_address | No | Contract address to integrate with | |
| ui_framework | No | UI framework to use | daisyui |