generate_hook
Generate custom React hooks with FrameIO SDK integration by specifying module ID, hook name, parameters, return type, and optional SDK hooks to produce ready-to-use TypeScript code.
Instructions
Generate custom React hooks with SDK integration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hookName | Yes | Hook name (must start with "use", e.g., useOrderStatistics) | |
| moduleId | Yes | Module ID (kebab-case) | |
| parameters | No | Hook parameters (optional) | |
| returnType | Yes | TypeScript return type | |
| description | Yes | Hook description | |
| usesSDKHooks | No | SDK hooks to use (optional) |