acad_attach_image
Place a PNG or JPG under an AutoCAD drawing at a specified point and width; image height follows the picture's aspect ratio. Files outside the project folder require explicit user confirmation.
Instructions
Place a PNG or JPG under the drawing as an image, at point, width_in wide (height follows the picture's shape). 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>",
"width_in": "<width_in>"
},
"name": "acad_attach_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| layer | No | ||
| point | Yes | ||
| width_in | Yes | ||
| confirm_outside_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||