ctp_generate_tests
Generate test suites for CTP tools from their definitions and optional implementation code to validate correctness.
Instructions
Generate test suite for a CTP tool
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": {
"definition": "<definition>"
},
"name": "ctp_generate_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition | Yes | The tool definition | |
| implementation | No | The tool implementation code |