Seal multiple files as KNOBE documents
knobe_seal_batchSeal multiple files as KNOBE documents in one batch. Confirm author once or per file; failed files won't stop the process.
Instructions
Seal a list of files (e.g. an entire conversion run) as KNOBE documents. The author is confirmed with the user ONCE for the whole batch by default; set confirm_each=true to prompt per file.
Files are processed independently: one failure does not stop the batch. The result lists sealed and failed files separately.
Args:
paths (string[]): files to seal (1-200).
confirm_each (boolean): prompt the user per file instead of once per batch. Default: false.
shared metadata fields as in knobe_seal_file (applied to every file; title always derives from each filename).
Returns: text summary plus structured {sealed: [...], failed: [{path, error}], author, aborted}. 'aborted' is true when the user declined an author prompt mid-batch; files already sealed before the decline are listed in 'sealed' and remain on disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags sealed into the payload. | |
| paths | Yes | Files to seal. | |
| author | No | Proposed author (person or organization) for the sealed attribution. The user is asked to confirm or change it before sealing unless KNOBE_NO_CONFIRM is set. | |
| license | No | License string sealed into the payload. Default: 'CC BY 4.0'. | |
| summary | No | One-paragraph summary sealed into the payload. | |
| language | No | BCP-47 language tag of the body, e.g. 'en'. | |
| overwrite | No | Replace the output file if it already exists. Default: false. | |
| confirm_each | No | Ask the user to confirm the author for every file instead of once per batch. | |
| content_type | No | KNOBE content_type (e.g. 'original', 'adaptation', 'summary'). Default: 'original'. | |
| contribution | No | What the author contributed. Default: 'author'. | |
| privacy_level | No | KNOBE privacy_level (e.g. 'public', 'internal'). Default: 'public'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| author | Yes | ||
| failed | Yes | ||
| sealed | Yes | ||
| aborted | Yes |