> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snackbase.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create function

> Create a new function definition for the current account

### Body

```json theme={null}
{
  "name": "Hello",
  "slug": "hello",
  "description": "Optional",
  "auth_required": true,
  "entrypoint": "handler.py"
}
```

Slug must match `^[a-z][a-z0-9_-]{1,63}$`. Requires admin or `functions:write`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.