Generate Autocad Lisp
generate_autocad_lispGenerate AutoLISP routines for AutoCAD to clean drawings, create grids, or batch export PDFs, with support for custom LISP code.
Instructions
Generate an AutoLISP (.lsp) routine file for AutoCAD users.
template_type: 'clean_drawing', 'create_grid', 'batch_export_pdf', or None (with custom_lisp_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": {
"routine_name": "<routine_name>"
},
"name": "generate_autocad_lisp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parameters | No | ||
| output_path | No | ||
| routine_name | Yes | ||
| template_type | No | ||
| custom_lisp_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||