One-shot private compute
fhe_private_evalRun private computations without exposing inputs: seal values, execute operations, hide intermediates, and reveal only the final result when needed.
Instructions
The main agent tool. Seals inputs, runs the op (add, mul, mean, concat, …) without showing intermediates, and optionally reveals only the final answer. Prefer this over encrypt/compute/decrypt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | add | sub | mul | div | mean | concat | compare | … (see fhe_ops) | |
| domain | Yes | int for integers, float for real math, string for text, binary for bits | |
| reveal | No | If true (typical for AI answers), return plaintext of the final result only | |
| values | Yes | Plaintext inputs. They are sealed before compute. |