zora_health
Check server and environment diagnostics for the Zora Coins ecosystem, including API key status, wallet connections, RPC availability, and chain information.
Instructions
Returns server and environment diagnostics (API key present, wallet, RPC, chain).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:87-96 (handler)The handler function for the 'zora_health' tool. It returns a JSON object with server name, version, API key status, RPC URL, chain ID, and wallet address.async () => { const res = { server: { name: SERVER_NAME, version: SERVER_VERSION }, apiKeyConfigured: !!apiKey, rpcUrl: baseRpcUrl, chainId, walletAddress: account?.address || null, }; return { content: [{ type: "text", text: json(res) }] }; }
- src/index.ts:81-86 (schema)The input schema and metadata (title, description) for the 'zora_health' tool. Note: inputSchema is empty as it takes no parameters.{ title: "Zora Coins server health", description: "Returns server and environment diagnostics (API key present, wallet, RPC, chain).", inputSchema: {}, },
- src/index.ts:79-97 (registration)The registration of the 'zora_health' tool using server.registerTool, including schema and handler.server.registerTool( "zora_health", { title: "Zora Coins server health", description: "Returns server and environment diagnostics (API key present, wallet, RPC, chain).", inputSchema: {}, }, async () => { const res = { server: { name: SERVER_NAME, version: SERVER_VERSION }, apiKeyConfigured: !!apiKey, rpcUrl: baseRpcUrl, chainId, walletAddress: account?.address || null, }; return { content: [{ type: "text", text: json(res) }] }; } );