Generate document
generate_documentNOT for a list of sources, methods, formats or reading — that is answer_from_library, which draws on Metodic's own library and saves the result to the session. Use this only for a WRITTEN DOCUMENT with its own audience: a pre-read, a briefing, a client brief, prep notes, an invitation, a follow-up. Creates it with Metodic's real document builder (the same 'Documents' generator as Metodic's Materials tab) and return it as a branded HTML artifact — it is also saved to the session's Documents in Metodic. Use for ANY written document around a session: a participant PRE-READ or BRIEFING to email before the day, a CLIENT BRIEF for the sponsor, facilitator prep notes, an invitation, follow-up summary, or a fill-in template. Do NOT author these documents yourself — this tool writes them in the user's Metodic brand. Takes ~20-30s and ~0.5 Metodic credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Only when the user explicitly wants a separate sendable document that happens to contain cases. Without it, a request for cases is redirected to answer_from_library, where it is saved to the session. | |
| title | Yes | Document title, e.g. 'Pre-read for participants'. | |
| purpose | Yes | What the document is for and what it must achieve, in 1-3 sentences. | |
| audience | No | Who reads it: participant (default), facilitator, or client/sponsor. | |
| session_id | Yes | The Metodic session (toolkit) id. | |
| content_spec | No | Optional: what it should contain / structure / things to include or deliberately leave out (e.g. 'no method names — keep the exercises a surprise'). |