validate_jsonc
Validate JSONC from local files or strings, accepting comments and trailing commas without external calls.
Instructions
Parse JSONC (comments + trailing commas) and validate. 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_jsonc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Raw JSON/JSONC string (alternative to filePath). | |
| filePath | No | Local JSON/JSONC file path. |