run_lisp
Run multi-line AutoLISP expressions directly in AutoLISP-capable CAD to automate drawing and modeling operations.
Instructions
Eval AutoLISP code (multi-line and multiple expressions OK); set (setq MCPRES ...) to return data.
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": {
"code": "<code>"
},
"name": "run_lisp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |