Mint a tool key (proxy only)
mint_harness_keyMint the API key for ONE TOOL in this workspace — the middle tier between the folder's workspace key and a session key. The watchdog proxy calls this once it knows which harness is on the other end (the initialize handshake names it), caches the result, and mints its session key from THAT rather than from the workspace key. This is what makes one tool independently retirable: every tool started in a folder shares one .mcp.json, so without it, retiring Grok also stops Claude Code and Codex. Workspace keys only. Same access as your key — no privilege change. The raw key is returned ONCE, and a harness retired in this workspace is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| harness | Yes | The resolved runtime id of the tool on the other end, e.g. `claude-code`, `codex`, `grok`. Lowercase letters, digits and dashes. A name we cannot place is REFUSED rather than cleaned — it would mint a second credential for a tool that already has one. |