Pipeline Steps:
- Summarization: Condense the text using Prompt Chaining.
- Extraction: Use the summary and structured Pydantic output to extract precise entities (e.g., dates, amounts, parties).
- Calculation (Tool Use): Invoke a Calculator Tool to perform an arithmetic operation based on the extracted values.