Record parsed document content
record_document_contentSave parsed document content (characters, concepts, terms) to history to maintain consistency across generated materials. User confirmation required.
Instructions
After reading an UNTRACKED document's text, store the structured content you extracted into history so it is never re-parsed. For characters, include every one found ANYWHERE in the document (opening scene and activities/bilan), each with details like {name, type}. The object must already be in the bucket. 'unit' is the scope value (maths: chapter number); 'deliverable' is a deliverable key (maths: 'manual' or 'lessons'). REQUIRES CONFIRMATION: called without confirm:true it only returns a needsConfirmation notice — ask the user to approve writing to history, then call again with confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| confirm | No | ||
| content | Yes | ||
| relPath | Yes | ||
| deliverable | Yes |