library_register_step
Archives a verified STEP file and component metadata into a revisioned commercial parts library so reusable parts remain traceable and immutable.
Instructions
Archive STEP, native FCStd and metadata after BOP and save/reopen gates; no technical specifications inferred.
Contract: explicit internal names recommended. Length mm, area mm^2, volume mm^3; field units override defaults. Errors: invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout; transport failures are possible. Timeout is not cancellation: never blindly retry mutations. Legacy return shape preserved.
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": {
"library_root": "<library_root>",
"source_path": "<source_path>",
"component_id": "<component_id>",
"revision": "<revision>",
"manufacturer": "<manufacturer>",
"part_number": "<part_number>",
"category": "<category>",
"technical_data": "<technical_data>"
},
"name": "library_register_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | Component family used for library searches. | |
| revision | Yes | Immutable revision identifier; existing revision cannot be overwritten. | |
| source_url | No | Provenance URL of the acquired CAD, when available. | |
| part_number | Yes | Exact orderable part number/configuration identity. | |
| source_path | Yes | Existing STEP/STP file; original is copied and SHA-256 verified without mutation. | |
| component_id | Yes | Portable internal component identifier, unique with revision. | |
| library_root | Yes | Explicit directory of the persistent commercial component library. | |
| manufacturer | Yes | Verified manufacturer identity supplied by caller, never inferred from geometry. | |
| configuration | No | Exact commercial variant/configuration. | |
| technical_data | Yes | Named records with value, unit, origin (manufacturer/geometry/user/hypothesis), and source required for manufacturer data. |