boscli_health_cache
Check BOS cache system health to identify issues and ensure reliable performance.
Instructions
Check BOS cache systems
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "boscli_health_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/health.ts:27-27 (handler)The handler function for the 'boscli_health_cache' tool. It makes a GET request to '/boscli/health/cache' via the BosApiClient to check BOS cache systems.
handler: async (_, client) => client.get('/boscli/health/cache'), - src/tools/health.ts:26-26 (schema)The schema for the 'boscli_health_cache' tool is an empty object, meaning it takes no input parameters.
schema: {}, - src/tools/health.ts:4-35 (registration)The tool is registered as part of the 'healthTools' array exported from src/tools/health.ts, which is a list of McpTool objects.
export const healthTools: McpTool[] = [ { name: 'boscli_health_check', description: 'Full BOS system health check - modules, database, cache, routes', schema: {}, handler: async (_, client) => client.get('/boscli/health'), }, { name: 'boscli_health_modules', description: 'Check health of all BOS modules', schema: {}, handler: async (_, client) => client.get('/boscli/health/modules'), }, { name: 'boscli_health_database', description: 'Check BOS database connectivity', schema: {}, handler: async (_, client) => client.get('/boscli/health/database'), }, { name: 'boscli_health_cache', description: 'Check BOS cache systems', schema: {}, handler: async (_, client) => client.get('/boscli/health/cache'), }, { name: 'boscli_health_schema', description: 'Check BOS database schema integrity', schema: {}, handler: async (_, client) => client.get('/boscli/health/schema'), }, ];