invoke_function
Call a deployed serverless function via HTTP to test its response and status code without a frontend.
Instructions
Invoke a deployed function via HTTP. Returns the function's response body and status code. Useful for testing functions without building a frontend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (string or JSON object) | |
| name | Yes | Function name to invoke | |
| method | No | HTTP method (default: POST) | |
| headers | No | Additional headers to send | |
| project_id | Yes | The project ID |