API reference (RC-API)
This describes the contract operators rely on. Exact payloads evolve—always check server.ts / route modules in RC-API for the live list.
Unauthenticated / public
GET /health— liveness for tray and ops.
Authenticated (Bearer RC_API_KEY)
Typical patterns (names as in reference tree):
GET /tools/list-all— full catalog + metadata used by MCP to build subcommand list.GET /tools/docs— aggregated docs where enabled.POST /tools/execute— primary workflow executor forexecution_target: remotetools (body includes tool name + parameters per handler).
Rules / constitution fragments
Used by tray + MCP constitution assembly, e.g.:
GET /rules/baseGET /rules/tool_policy/:idGET /rules/behavior_profile/:idGET /rules/prompt_policy/:idGET /rules/latest(and related—see RC-APIroutes)
Files / uploads (when deployed)
- Upload helpers for large payloads (e.g. Gemini file flows)—see RC-API
/files/...routes if present.
Deprecated mental model
Do not assume dozens of legacy per-tool POST routes (e.g. /analyze-sentiment) as the primary surface—modern path is /tools/execute + MDC workflows.