json_stats
Get statistics about a JSON structure.
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_string": "<json_string>"
},
"name": "json_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_string | Yes | JSON string to analyze |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| nulls | No | ||
| valid | No | ||
| arrays | No | ||
| numbers | No | ||
| objects | No | ||
| strings | No | ||
| booleans | No | ||
| max_depth | No | ||
| size_bytes | No | ||
| total_keys | No | ||
| total_values | No | ||
| size_minified | No |