bos_store_inventory
Retrieve a summary of inventory for a specific store using its store ID to assess stock levels and availability.
Instructions
Get inventory summary for a specific store
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_id | Yes |
Implementation Reference
- src/tools/bos.ts:564-564 (handler)The handler function that executes the 'bos_store_inventory' tool logic by making a GET request to the store inventory API endpoint.
handler: async (args, client) => client.get(`/mcp/stores/${args.store_id}/inventory`), - src/tools/bos.ts:563-563 (schema)Input schema for 'bos_store_inventory' - requires a 'store_id' string parameter.
schema: { store_id: { type: 'string' } }, - src/tools/bos.ts:561-565 (registration)Registration of 'bos_store_inventory' as a tool in the storeTools array in bos.ts.
name: 'bos_store_inventory', description: 'Get inventory summary for a specific store', schema: { store_id: { type: 'string' } }, handler: async (args, client) => client.get(`/mcp/stores/${args.store_id}/inventory`), }, - src/stdio.ts:40-41 (registration)Store tools (including bos_store_inventory) are spread into the allTools array for registration with the MCP server via stdio transport.
...storeTools, ...checkoutTools, - src/tools/index.ts:4-9 (helper)McpTool interface defining the structure that bos_store_inventory conforms to.
export interface McpTool { name: string; description: string; schema: Record<string, any>; handler: (args: any, client: BosApiClient) => Promise<any>; }