save_report
Save a data science analysis as a markdown report with plot images. Use as the final step to export a structured, presentable report to the reports folder.
Instructions
Save a data science report as a markdown file with associated plot images.
Use this as the FINAL STEP of an analysis to export a structured, presentable report.
The report and plots are saved to a 'reports/' folder next to the original CSV file.
If output_dir is empty, defaults to 'reports/' in the directory of the first loaded CSV.
If include_plots is provided, saves those named plots as PNG files in the same folder
and you can reference them in the markdown content as
.
Example: save_report(content="# Analysis Report\n...", include_plots=["histogram_Revenue", "correlation_matrix"])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| output_dir | No | ||
| include_plots | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |