cadlens_parse_file
Parses local CAD files (DWG/DXF/DWF/DGN/PDF) up to 100 MB, returning a summary with preview image. Polls until completion for immediate results.
Instructions
Parse a local CAD file (DWG/DXF/DWF/DWFx/DGN-V7/PDF, max 100 MB). Polls until the job completes or 5 minutes elapse. Returns a summary including the preview image URL. Use cadlens_get_result with the returned job_id to fetch detailed entity 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": {
"path": "<path>"
},
"name": "cadlens_parse_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the file on the local filesystem. | |
| webhook_url | No | Optional external webhook URL for state-change notifications. Independent of the auto-registered local receiver. | |
| notify_email | No | Optional email address CADLens notifies with a job link when the parse finishes unattended. |