Summarize document text into a prose summary and key points with citations. Use after document.extract_text or url.extract when you need a condensed understanding of a long document. For single-sentence Q&A, use url.qa instead. For extracting specific fields, use document.extract_structured.
Typical workflow: document.extract_text/url.extract → document.summarize.
Returns: {
summary: string,
key_points: string[],
summary_cited: { value, confidence, citations[] },
key_points_cited: [{ text, citations[] }],
truncated: boolean,
strategy: "full"|"truncated"|"chunked"
}
Example prompts:
- "Summarize this financial report and give me the key points."
- "What are the main takeaways from this document?"
- "Give me a concise summary of this 50-page report."
Connector