json_skeleton
Generate compact JSON skeletons by preserving structure, truncating string values, and deduplicating arrays to analyze large JSON files without exceeding size limits.
Instructions
Create a lightweight JSON skeleton that preserves structure with truncated values and deduplicated arrays. Useful when encountering 'File content exceeds maximum allowed size' errors with large JSON files.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | Path to the JSON file to process | |
max_length | No | Maximum length for string values (default: 200) | |
type_only | No | Return only value types instead of values. Most compact output. (default: false) |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"description": "Path to the JSON file to process",
"type": "string"
},
"max_length": {
"default": 200,
"description": "Maximum length for string values (default: 200)",
"type": "integer"
},
"type_only": {
"default": false,
"description": "Return only value types instead of values. Most compact output. (default: false)",
"type": "boolean"
}
},
"required": [
"file_path"
],
"type": "object"
}