Set input validator
repovive_build_set_validatorValidate each generated test against stated constraints by attaching an input validator to a draft, catching malformed test data before publication.
Instructions
Attach an input validator to a draft. The validator reads each generated test and asserts it satisfies the stated constraints, catching malformed test data before the problem goes live.
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": {
"session_id": "<session_id>",
"validator_source": "<validator_source>"
},
"name": "repovive_build_set_validator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Build session id | |
| validator_source | Yes | Validator program source |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |