invoke_function
Invoke deployed functions via HTTP to test them without building a frontend, returning the response body and status code.
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 |
|---|---|---|---|
| project_id | Yes | The project ID | |
| name | Yes | Function name to invoke | |
| method | No | HTTP method (default: POST) | |
| body | No | Request body (string or JSON object) | |
| headers | No | Additional headers to send |