feat(mcp): add BOM management tools (list_products_bom_status, get_product_bom, set_product_bom)
This commit is contained in:
1 parent
b030c08f68
commit
4fcdd8a816
4 files changed
+538
-1
No files matched your search
@@ -51,7 +51,7 @@ test("settings writes send only supported fields and simple product fields are a
|
||||
try {
|
||||
client = await connectMcp(`http://localhost:${backend.port}/api`);
|
||||
const tools = (await client.listTools()).tools;
|
||||
expect(tools).toHaveLength(113);
|
||||
expect(tools).toHaveLength(116);
|
||||
expect(tools.find((item) => item.name === "get_footer_layout")?.annotations?.readOnlyHint).toBe(true);
|
||||
expect(tools.find((item) => item.name === "delete_category_section")?.annotations?.destructiveHint).toBe(true);
|
||||
const footerLayout = await client.callTool({ name: "get_footer_layout", arguments: {} });
|
||||
|
||||
Reference in new issue
Block a user