Built-in Tools
The gateway comes with a set of standard commerce tools. You can enable them by simply adding their names to your configuration.| Tool Name | Backend Required | Description |
|---|---|---|
search_products | products | Search for products using keywords and filters. |
get_product_details | products | Get full details for a specific product. |
check_inventory | products | Check if items are in stock and get ATP. |
add_to_cart | cart | Add a product variant to the current cart. |
create_order | orders | Initialize checkout and create a draft order. |
Universal Tool Abstraction
One of the core strengths of the gateway is its universal tool format. You define a tool once using Zod for schema validation, and the gateway handles the rest.How Adaption Works
When you serve your gateway, it dynamically generates the correct definitions for the target platform:For Claude (MCP)
The gateway generates a JSON-RPC response that Claude’s MCP client can consume, including instructions on how to call the tool.For OpenAI (Function Calling)
The gateway converts the Zod schema into a JSON Schema format that OpenAI expects in thetools array of a chat completion request.
For Grok
Similar to OpenAI, it formats the tools for X’s LLM engine.Authentication & Security
Tools are automatically protected by the gateway’s authentication layer. When an LLM attempts to call a tool, the gateway verifies:- The request has a valid session or API key.
- The session is allowed to call the specific tool.
- The inputs match the defined schema.