autocad_attach
Binds the MCP server to a COM-reachable AutoCAD window and document using a window handle and document name from status/list calls; omit them to select the current target.
Instructions
Bind this MCP server to a COM-reachable AutoCAD application window/process and document. Use a decimal windowHandle and document name/full path returned by status/list calls; omit them to select the current target. activate defaults to true and activates the selected document; false only establishes the binding without activating it. Later commands reject if the bound document is no longer active. COM may not expose every same-version AutoCAD process.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "autocad_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activate | No | ||
| document | No | ||
| windowHandle | No |