validate_json_2
Validate if a string is valid JSON.
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": "validate_json_2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_string | Yes | JSON string to validate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| error | No | ||
| valid | Yes | ||
| error_line | No | ||
| error_column | No | ||
| error_position | No |