# forge-compile

`station__forge__forge-compile` · external (needs EXECUTION_BACKEND_URL configured) · domain `forge` · pv-relevance `non-pv`

`config.ts` and `index.ts`.

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

- `output_dir` *string* (required) — Output directory for generated TypeScript files. Resolved relative to ~/nexcore/ if not absolute.
- `overwrite` *boolean* (required)
- `pathway_json` *string* (required) — Path to pathway JSON file (e.g., "content/pathways/tov-01.json"). Resolved relative to ~/nexcore/ if not absolute.

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__forge__forge-compile",
    "arguments": {
      "output_dir": "",
      "overwrite": false,
      "pathway_json": ""
    }
  }
}
```

## Related

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