x402-ai-tests
x402-ai-tests: Generate unit tests for a code snippet: happy path, edge cases and error cases. Name the language with lang; returns executable test 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": "x402-ai-tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| lang | No | ||
| text | No | ||
| function | No |