get_inventory
The browser finds one tool on the website. The tool sends one request to the existing API.
User request
Is SKU-1042 available in the Portland warehouse?
Browser tool call
Code
get_inventory({
"sku": "SKU-1042",
"warehouse": "portland"
})OpenAPI setting
JSON
{
"operationId": "get_inventory",
"description": "Get stock for one product and warehouse.",
"x-webmcp-enabled": true,
"parameters": [
{
"name": "sku",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "warehouse",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
]
}Existing API request
Code
GET /api/inventory/SKU-1042?warehouse=portlandWhy this is a fit
This request only reads data. It uses simple values in the path or query. The website can check the current user’s access before the API returns data.
What stays out
The tool cannot change data. It does not create incidents, change inventory, update tickets, or edit metrics.