validate_json
Validate strict JSON from local files or inline strings to detect syntax errors and ensure data integrity. No network calls.
Instructions
Parse and validate strict JSON. Local files/strings only. Does not fetch URLs or contact external services.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Raw JSON/JSONC string (alternative to filePath). | |
| filePath | No | Local JSON/JSONC file path. |