You can manage functions in three ways:
- Console: Best for getting started and inspecting your functions.
- API: Programmatically manage functions using the Functions API.
- AI agent: Ask your AI to manage functions for you with the Maton Skill.
Creating a function
Open the Functions page in Maton, click New at the top right, then name the function and configure its visibility and network policy.
Select the runtime and write the handler. Once finished, click Create at the bottom right.
Viewing functions
The Functions page lists all of your functions, displaying their name, runtime, and visibility.
Click a function to view its details including code, version history, environment, and runs.
Updating a function
Open a function and click Edit at the top right to update details other than code.
For editing code, make changes in the editor and click Deploy at the top right which publishes a new version.
Deleting a function
Click on the vertical dots at the right end of its row and select Delete.