ai-tools__test_code
Provide your code and test framework to generate tests automatically. Eliminates manual test writing to improve code reliability.
Instructions
[AI Code Analysis] Generates tests for the given code
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-tools__test_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to test | |
| test_framework | No | Test framework to use | jest |