batch_insert_blocks
Insert up to 10,000 persistent-PID-bound block references in bulk across a drawing, guarded by document PID and predecessor fingerprint checks to prevent stale-document placement.
Instructions
Insert 1..10000 persistent-PID-bound block references through the managed native bridge only when caller document PID and predecessor fingerprint still match.
Side-effects: Inserts block references across the drawing. Disambiguation: Use for bulk component placement; for single placement use block_insert.
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": {
"document_pid": "<document_pid>",
"expected_parent_fp": "<expected_parent_fp>",
"inserts": "<inserts>"
},
"name": "batch_insert_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inserts | Yes | List of persistent-PID-bound block insert specifications (name, point, scale, rotation) | |
| document_pid | Yes | Persistent document identifier matching active CAD drawing | |
| expected_parent_fp | Yes | Expected predecessor semantic fingerprint for optimistic locking |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||