Create Module
lyzr_create_moduleCreate a new sidebar module by providing a unique key, URL, description, and optional settings for visibility, badges, icons, and access.
Instructions
Create a new sidebar module.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Unique module key | |
| url | Yes | URL/route this module points to | |
| beta | No | Show 'beta' badge | |
| icon | No | Icon identifier | |
| name | No | Display name | |
| type | No | Item type | |
| badge | No | Badge text | |
| order | No | Sort order | |
| route | No | Frontend route | |
| config | No | Arbitrary extra config | |
| is_new | No | Show 'new' badge | |
| blocked | No | Whether this module is blocked | |
| heading | No | Section heading | |
| section | No | Sidebar section | |
| external | No | Whether this links externally | |
| subtitle | No | Subtitle text | |
| action_id | No | Action id | |
| is_visible | No | Default true | |
| description | Yes | Human-readable description | |
| use_tracking | No | Whether to track usage (default false) | |
| is_accessible | No | Default true | |
| enabled_for_envs | No | Environments this is enabled for, or null for all envs | |
| enabled_for_plans | No | Plans this is enabled for, or null for all plans | |
| enabled_for_roles | No | Roles this is enabled for, or null for all roles | |
| upgrade_description | No | Upgrade prompt text when blocked |