Get a function's details
get_function_detailsOne function's status, whether its last deploy failed, its env var names (never values), the data it may access, and its last few runs (time, status code, duration). Its code and env values are viewed in the site's Functions screen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| function | Yes | The function's name (slug), display name or id, from list_functions | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. |