ai_test_cases
AI unit test generator — Generate a runnable unit test file for a function or module, with a list of the cases covered (normal, edge and error). Pick the framework or let it choose: jest, vitest, pytest, go test, JUnit and others. Price: $0.01 USDC (Base, via x402).
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": {
"code": "<code>"
},
"name": "ai_test_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | the code to test | |
| language | No | optional language | |
| framework | No | optional test framework |