action_new
Create a new API endpoint by generating an action folder with main.py and module file. Provide the endpoint as 'name' or 'package/name'.
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 action endpoint. Use 'name' or 'package/name'. Each segment must start with a letter and contain only letters, numbers, and hyphens; underscores and spaces are invalid (example: 'v1/employees-photo'). |