checkFitment
Before addToCart: check whether a part is listed for the customer vehicle modification. Returns fits or not_listed. Pass exactly one of part_id (integer) or part_number (string) — not both. make/model/modification are required strings (no top-level oneOf: Anthropic/OpenAI reject oneOf at the root).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"make": "<make>",
"model": "<model>",
"modification": "<modification>"
},
"name": "checkFitment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| make | Yes | Vehicle make as the buyer says it, for example volkswagen. | |
| brand | No | Optional brand name/slug when part_number matches several catalogue rows (e.g. japko). | |
| model | Yes | Vehicle model as the buyer says it, for example golf 7. | |
| part_id | No | Internal product id. Pass this or part_number, not both. | |
| part_number | No | Manufacturer part number. Pass this or part_id, not both. | |
| modification | Yes | TecDoc modification slug. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. The HTTP status stays 200. |