health
Verify the engine is reachable and responsive by checking status, version, and latency before performing evaluations or fleet operations.
Instructions
Check CI-1T engine health. Response: { status, version, latency_ms }. Call before evaluate/fleet operations to verify the engine is reachable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:593-607 (handler)The health tool handler implementation. Calls the CI-1T backend fleet-session endpoint with { action: 'health' }, requires API key authentication, and returns engine status (status, version, latency_ms).
server.tool( "health", "Check CI-1T engine health. Response: { status, version, latency_ms }. Call before evaluate/fleet operations to verify the engine is reachable.", {}, async () => { const guard = requireApiKey(); if (guard) return guard; const result = await apiFetch("/api/fleet-session", { method: "POST", headers: apiKeyHeaders(), body: { action: "health" }, }); return formatResult(result); } ); - src/index.ts:596-596 (schema)Empty schema object — the health tool takes no input parameters (no Zod schema defined).
{}, - src/index.ts:593-607 (registration)Registration of the 'health' tool via server.tool() with the description 'Check CI-1T engine health.'
server.tool( "health", "Check CI-1T engine health. Response: { status, version, latency_ms }. Call before evaluate/fleet operations to verify the engine is reachable.", {}, async () => { const guard = requireApiKey(); if (guard) return guard; const result = await apiFetch("/api/fleet-session", { method: "POST", headers: apiKeyHeaders(), body: { action: "health" }, }); return formatResult(result); } );