Invoke Firecracker Function
invoke_functionRun a VPSnet Firecracker function and optionally wait for output; poll the returned invocation UUID for status and usage billing.
Instructions
Invoke a Firecracker Function. PAID per invocation (CPU/memory usage billed from account). Use wait=true when output/logs are needed; asynchronous invocations do not retain output. Poll get_function_invocation using the returned invocation_uuid for status and usage. One Idempotency-Key is generated per tool call unless idempotency_key is supplied; reuse an explicit key only for an exact retry so the same logical step is not double-run or double-billed (response may include replayed=true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait synchronously for the result | |
| input | No | Input payload passed to the function (string; JSON text is fine) | |
| function_id | Yes | Function ID from list_functions | |
| idempotency_key | No | Optional stable key for this exact logical invoke (e.g. agent step id). Exact retries with the same key return the original invocation; changed input or wait semantics are refused. | |
| acknowledge_usage_billing | No | Confirm the customer requested this execution and understands that it uses their VPSnet balance. Required for OAuth connections. |