Validate Problem
validate_problemCheck a problem's shape and obvious feasibility before spending solver time. FREE.
Typical input {"type": "route", "problem": {"stops": [...], "matrix": [[...]], "vehicles": [...]}} returns {"ok": false, "issues": ["total demand 34 exceeds total capacity 30"], "size": {"stops": 14, "vehicles": 2}, "tier_hint": "route_plan_fleet (licence) - more than 12 stops"}. Types: route, pack, cut1d, cut2d, roster, knapsack; the problem object uses the same fields as the matching tool. Use first when an agent has assembled the problem from other data. Not a solve: it never calls the solver. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "type must be one of "}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | route, pack, cut1d, cut2d, roster or knapsack. | |
| problem | Yes | the same object you would pass to the tool (stops/matrix/vehicles, items/containers, ...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||