generate_vba_code
Generate SolidWorks VBA automation code from an operation description, including API calls, error handling, and documentation for Part, Assembly, or Drawing tasks.
Instructions
Generate VBA code for SolidWorks automation.
Analyzes operation description and generates appropriate VBA code with SolidWorks API calls, error handling, and documentation.
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": {
"input_data": "<input_data>"
},
"name": "generate_vba_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The input data value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||