Command reference
oko-cli proxy-translate
Translates an Anthropic-compatible request body into Oko’s router request shape.
Invocation
oko-cli proxy-translate --body <anthropic-json>Inputs and options
- Required --body containing the complete request JSON as one UTF-8 string.
Output and state effect
- Prints the translated UTF-8 JSON; no request is sent.
Refusals and safe exits
- Refuses a missing or non-UTF-8 body, invalid input translation, or a translated body that is not UTF-8.