winops_json_validate
Validate a JSON string and return its validity status, success indicator, and error message if invalid.
Instructions
Validate whether a string is valid JSON.
Return Format
{"success": true, "valid": bool, "error": str | null}Examples
validate(text='{"key": "value"}')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": {
"text": "<text>"
},
"name": "winops_json_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | JSON string to validate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||