validate_aql
Validates an AQL/RQL query and returns the count of matching test cases, so typos are caught before running a real search.
Instructions
Check an AQL query (the API calls it rql) before running search_test_cases.
Returns {ok, valid, count}: count is how many test cases the query selects, so a typo is caught before a real search. project_id defaults to TESTOPS_PROJECT_ID; deleted=true counts removed cases too. rql is required.
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": "validate_aql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rql | No | ||
| deleted | No | ||
| project_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |