# dna-ml-encode

`station__dna-ml__dna-ml-encode` · external (needs EXECUTION_BACKEND_URL configured) · domain `dna-ml` · pv-relevance `non-pv`

Encode a PV feature vector as a DNA strand. Quantizes floating-point features to bytes, then encodes as nucleotide sequence (A/T/G/C). Returns strand representation and quantized bytes.

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `features` *array* (required) — Feature vector to encode as DNA (12-element PV features).
- `maxs` *array*
- `mins` *array*

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__dna-ml__dna-ml-encode",
    "arguments": {
      "features": []
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/dna-ml__dna-ml-encode](/tools/dna-ml__dna-ml-encode) — HTML page
- [/tools/dna-ml__dna-ml-encode/json](/tools/dna-ml__dna-ml-encode/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
