acad_attach_xref
Attach an existing .dwg file as an external reference at a specified point; set confirm_outside_root=true when the file lies outside the project folder.
Instructions
Attach another DWG as an xref at point. The file must exist and end in .dwg. A file outside this project folder needs confirm_outside_root=true; ask the user first.
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>",
"point": "<point>"
},
"name": "acad_attach_xref"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes | ||
| layer | No | ||
| point | Yes | ||
| confirm_outside_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||