Invoke Function
invoke_functionRun a backend function of an owned app exactly like the HTTP route and return its status and JSON. caller='owner' runs as the app owner; caller='anonymous' first evaluates the function policy as a public visitor and returns the 401/403 decision without running when access would be denied. Use it to verify a function (secrets, outbound calls, policy) before wiring it into the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app ID | |
| caller | No | owner | |
| params | No | JSON body passed to the function | |
| headers | No | Optional extra request headers to simulate, e.g. a webhook secret header | |
| function | Yes | Function name, e.g. probe |