JSON Field Validation
object_contract_checkDiscover deterministic top-level JSON field validation for API payloads, automation and AI-agent handoffs. The value must be an object; schema.required finds absent fields, schema.properties..type finds primitive type mismatches, and additionalProperties=false reports unknown fields. Prefer this for new simple contracts and use json_schema_check for nested or recursive constraints. This free MCP discovery call does not execute the advertised capability and does not charge; it returns the exact x402 endpoint, price and payment guide for execution.
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": {
"value": "<value>",
"schema": "<schema>"
},
"name": "object_contract_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | JSON object to check. | |
| schema | Yes | Top-level contract definition. Only required, properties.<field>.type, and additionalProperties=false are evaluated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| method | Yes | HTTP method for paid execution. | |
| endpoint | Yes | Canonical absolute ARN HTTP URL to POST the same tool arguments to for paid execution. | |
| protocol | Yes | Payment protocol required by the HTTP execution endpoint. | |
| instruction | Yes | How to execute the capability after receiving the payment requirement. | |
| paymentGuide | Yes | Public setup guide with a working x402 v2 Base-mainnet client example. | |
| paymentRequired | Yes | Always true for paid ARN capabilities exposed over MCP. |