cad_mutate
Applies authorized live edits—lines, circles, arcs, polylines, text, dimensions, hatches, properties, and saves—to a CAD document, guarded by a session write flag and document token.
Instructions
Authorized live line/circle/arc/polyline/text/dimension/hatch/properties/save; angles are degrees. dimension accepts rotation (rotated dim) and text_override containing exactly one <> measured value. hatch fills either an existing closed polyline/circle boundary handle or explicit points drawn as the closed outline on boundary_layer (optional inner handles, inner_circles [[x,y,r]], pattern ANSI31/ANSI32/ANSI37/NET/SOLID, scale, angle); the result lists outline_handles it drew. Requires session write flag and document token. Interrupted operations stay uncertain and are never automatically replayed.
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": {
"operation_id": "<operation_id>",
"document_token": "<document_token>",
"operation": "<operation>",
"arguments": "<arguments>"
},
"name": "cad_mutate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | Yes | ||
| operation | Yes | ||
| operation_id | Yes | ||
| document_token | Yes |