generate_sdk
Generate type-safe client SDKs in TypeScript, Python, JavaScript, or Go from an OpenAPI specification, turning API definitions into ready-to-use client libraries.
Instructions
Generate a client SDK in TypeScript, Python, JavaScript, or Go from an OpenAPI specification. Creates ready-to-use client libraries with type safety.
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": {
"spec": "<spec>",
"language": "<language>"
},
"name": "generate_sdk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI specification as JSON string | |
| language | Yes | Target language for SDK generation | |
| clientName | No | Optional: Custom client class name |