finalize_record
Finalize an asset record before first push by confirming created_by, maintained_by, and model access mode; writes a confirmation block and returns the finalized record.
Instructions
Mark the asset record complete, before the first push. Requires the
author's own confirmation of created_by, maintained_by and
model_access.mode -- pass them in confirmations (mode="conversation",
the default, after asking the author), or set mode="elicitation" to have
the client prompt the author directly, in which case confirmations is
ignored. Writes a confirmation block recording which fields were confirmed.
Returns {"record": , "missing": []} on success, or
{"error": "", ...} on rejection -- rejection writes nothing at all,
and happens when a confirmation is missing or blank or when the resulting
record would be invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | conversation | |
| directory | No | . | |
| confirmations | Yes |