Validate VIPMP request body
validate_vipmp_requestValidate a JSON request body against the documented VIPMP schema for any endpoint. Flags missing required fields, type mismatches, constraint violations, unknown fields, and deprecated usage.
Instructions
Cross-check a JSON request body against the documented VIPMP schema.
Finds the endpoint's schema in the pre-built index and checks every field against its documented type, required-ness, and constraints (character limits, numeric ranges). Flags unknown fields, missing required fields, type mismatches, constraint violations, and deprecated-field usage.
Scope: top-level fields only. Nested objects are noted as
"not recursively validated" — check their schemas separately via
get_vipmp_schema.
Args: endpoint: "METHOD /path" (e.g. "POST /v3/customers"). body_json: The request body to check, as a JSON string.
Example: validate_vipmp_request( endpoint="POST /v3/customers", body_json='{"resellerId": "5556667778", "externalReferenceId": "342"}', )
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": {
"endpoint": "<endpoint>",
"body_json": "<body_json>"
},
"name": "validate_vipmp_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | ||
| body_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |