util_json_flatten
JSON flatten / unflatten — Flatten nested JSON to path keys (a.b.0.c) or unflatten path keys back to nested JSON. An array of objects becomes flat rows with a union of columns plus CSV - handy for spreadsheets and databases. Optional: mode=unflatten, sep (default .), arrays=bracket for a.c[0] style keys. Max 200,000 chars. Price: $0.001 USDC (Base, via x402).
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": {
"json": "<json>"
},
"name": "util_json_flatten"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | e.g. {"user":{"name":"Ada","tags":["x","y"]},"id":7} |