Clean & Validate JSON Data for AI Workflows · One-Call Pipeline
data_cleanClean and validate flat JSON data for an AI workflow with one paid request instead of coordinating four separate calls. ARN profiles 1-5,000 supplied JSON-object rows, removes duplicates using one to eight caller-selected primitive identity fields, infers a conservative flat-record schema, and checks required fields plus declared primitive types. It preserves first occurrences and reports exact counts and bounded validation errors. It does not repair malformed values, flatten nested data, enrich records or infer semantic correctness. 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": {
"rows": "<rows>",
"identityKeys": "<identityKeys>"
},
"name": "data_clean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Between 1 and 5,000 flat JSON-object rows. Nested objects and arrays are rejected by conservative schema inference. | |
| types | No | Optional primitive type required for selected fields on every cleaned row where present. | |
| required | No | Optional fields that must exist on every cleaned row. | |
| identityKeys | Yes | One to eight primitive fields that together identify duplicate rows. |
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. |