boscli_cache_list
Retrieve cache configuration and status from the BOS ERP system to monitor caching performance and diagnose issues.
Instructions
Get BOS cache configuration and status
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_cache_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/cache.ts:5-9 (handler)The handler for boscli_cache_list. It's an async function that calls client.get('/boscli/cache') to fetch BOS cache configuration and status. No arguments are needed (schema: {}).
{ name: 'boscli_cache_list', description: 'Get BOS cache configuration and status', schema: {}, handler: async (_, client) => client.get('/boscli/cache'), - src/tools/cache.ts:8-8 (schema)The schema for boscli_cache_list is an empty object ({}), meaning the tool takes no input parameters.
schema: {}, - src/tools/cache.ts:4-4 (registration)The tool is defined as part of the cacheTools array export in src/tools/cache.ts, which is then imported and spread into the allTools array in src/index.ts (line 31). The registration loop at lines 55-76 of src/index.ts registers all tools with the MCP server using server.tool().
export const cacheTools: McpTool[] = [