ctp_generate_implementation
Generates implementation code from a tool definition, automating the creation of CTP tool code.
Instructions
Generate implementation code from a tool definition
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_implementation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition | Yes | The tool definition | |
| executionMode | No | Execution mode (default: client) |