# strata19.library_ingest_commit
URL: /documentation/reference/tools/library_ingest_commit



{/* GENERATED FILE — do not edit. Sources: src/mcp/facade/tool-projection-registry.ts (availability) + describe() in src/mcp/facade/facade-tools.ts (prose). Regenerate: pnpm exec tsx scripts/docs/site/generate-tool-reference.ts */}

## What it does [#what-it-does]

Commits a previously previewed Library ingestion batch: creates/versions/links artifacts per item, writes content-addressed source objects locally, and returns a per-item receipt. Atomic by default — the whole batch is rejected if any selected item fails, unless commitMode is explicitly "valid\_items". A changed source since preview, an expired preview, or a previewDigest mismatch refuses the whole call. Idempotent: replaying the same idempotencyKey returns the same receipt without duplicating anything.

## When to use it [#when-to-use-it]

**Use when:** "import these items" · "commit the library import" · "yes, add the selected files"

**Also use when:** the user has reviewed a library\_ingest\_preview result and confirmed which items to import

## When not to use it [#when-not-to-use-it]

no library\_ingest\_preview call has happened yet for this exact selection

## Availability [#availability]

|           |                            |
| --------- | -------------------------- |
| Tier      | Composite member           |
| Lifecycle | Live                       |
| Taught by | `strata19-project-library` |
