Skip to main content

Module output

Module output 

Source
Expand description

Document-specific output formatters for LLM consumption.

Formats a Document into XML (Claude), Markdown (GPT), or JSON (agents).

Functionsยง

format_json
Format a document as agent-friendly JSON.
format_markdown
Format a document as GPT-optimized Markdown.
format_xml
Format a document as Claude-optimized XML.