You can create action and data type definitions for an application in either of two ways:
Use the Create Action tool.
Create Action provides an easy-to-use interface with text fields that you fill in. However, the tool has certain limitations.
Create the definitions manually.
This requires you to learn the syntax for creating the definitions, but provides access to the full range of functionality.