validate_query
Check RetrieVe/UniQuery statements for syntax errors and safety issues without executing them. Receive validation results including warnings and suggestions.
Instructions
Validate a RetrieVe/UniQuery statement before execution.
Checks query syntax and safety without executing it. Useful for validating AI-generated queries before running them.
Args: query: Query statement to validate
Returns: Dictionary containing validation results: - valid: Boolean indicating if query is valid - command: The query command detected (LIST, SELECT, etc.) - warnings: List of potential issues - suggestions: Helpful hints for common patterns
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": {
"query": "<query>"
},
"name": "validate_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||