is_valid_parentheses
Checks if a string contains properly balanced and nested parentheses, brackets, and braces. Returns true if every opening symbol has a matching closing symbol in the correct order. (cost: 1 credit)
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": "is_valid_parentheses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| s | No | string, required, the input string containing parentheses/brackets/braces to validate, no units, no default |