write_tests
Generate high-coverage unit or integration tests for provided code. Choose framework and AI model to ensure reliable validation.
Instructions
Generate high-coverage unit or integration tests for the provided 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": "write_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Target code for test generation | |
| model | No | Model to use (default: deepseek-chat) | |
| provider | No | AI Provider | |
| framework | No | Test framework (e.g. Jest, Vitest, JUnit, xUnit, PyTest) |