Skip to main content

Reference Materials

Save text and supported web-source content for use as drafting context. Review generated facts and quotations against your sources before publishing.

Supported inputs

Add text in the library

  1. Open Library → References → Add Reference.
  2. Enter a title and paste or type the reference content.
  3. Optionally add a Source URL for attribution.
  4. Save the reference, then inspect its stored content.
The library form requires content. Its optional URL field does not fetch the page. The attach-reference popover can save a URL string as a reference; that action is also distinct from extraction.

Extract a web page

Paste a supported web URL into the composer. Its extraction flow can fetch the page, save a reference, and select it for the draft. If extraction fails, DraftLift reports the failure; a link is not proof that the source content was available. The API provides a separate POST /api/v1/reference-materials/extract-url operation for this flow. Ordinary reference creation stores supplied text and an optional source URL. Neither operation is a native PDF or document-file upload endpoint.

Use references in a draft

Select the saved references in a drafting surface that supports reference selection. Reference content guides generation alongside your direction and template rules. Check facts, quotations, citations and intended meaning in the output; supplying a reference does not guarantee that every statement is correct. Saving a reference in a workspace does not by itself prove that a particular generation used it. Review the selected context for each draft.

Agent and Codex workflows

An agent can extract text from a document outside DraftLift, review that text, and save it through an existing text-input path. This is a power-user workflow, not native document import. For example, after reviewing a local text file:
The CLI’s --content option and MCP add_reference also accept supplied text. The CLI’s --url option saves a URL reference; it does not fetch the page. The standalone @draftlift/mcp tool stores supplied content and source attribution without automatic extraction. The hosted MCP tool with the same add_reference name attempts web-page extraction in URL mode; its text mode saves supplied text. Confirm which server your agent uses and inspect the saved result. The current dl generate command does not automatically attach saved workspace references; use an explicit reference-selection surface when the draft must use particular sources.

Keep sources useful

  • Save relevant passages with enough context to interpret them.
  • Keep source URLs and titles so you can check quotations later.
  • Review extracted text for missing sections or formatting errors.
  • Update references when the underlying facts change.