validate_json
Validate JSON syntax.
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_str": "<json_str>"
},
"name": "validate_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_str | Yes | JSON string to validate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | ||
| type | No | ||
| error | No | ||
| is_valid | Yes |