parse_json
Parse a JSON string and validate its syntax to confirm it is well-formed.
Instructions
Parse and validate a JSON string.
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": "parse_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_string | Yes | JSON string to parse |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |