action_new
Create a new API endpoint: generate an action folder with main.py and a module file, optionally public or private.
Instructions
Create a new API endpoint. Creates the action folder with main.py and module file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | No | Whether the action is public (API endpoint). Defaults to true. Set false for private actions (e.g. init package). | |
| endpoint | Yes | The endpoint path: 'name' (uses v1 package) or 'package/name' |