# cognition-forward

`station__cognition__cognition-forward` · external (needs EXECUTION_BACKEND_URL configured) · domain `cognition` · pv-relevance `non-pv`

per-layer attention entropy, and predicted token with confidence.

> **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

- `causal` *boolean* (required)
- `ffn_inner_dim` *integer*
- `max_seq_len` *integer* (required)
- `model_dim` *integer* (required)
- `num_heads` *integer* (required)
- `num_layers` *integer* (required)
- `seed` *integer*
- `tokens` *array* (required) — Token IDs for the input sequence.
- `vocab_size` *integer* (required)

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__cognition__cognition-forward",
    "arguments": {
      "causal": false,
      "max_seq_len": 0,
      "model_dim": 0,
      "num_heads": 0,
      "num_layers": 0,
      "tokens": [],
      "vocab_size": 0
    }
  }
}
```

## Related

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