save_extraction_results
Saves structured extraction results to a JSONL file for visualization or further processing. Input extraction data, specify output name and directory, and receive a confirmation with the saved file path.
Instructions
Save extraction results to a JSONL file for later use or visualization.
Saves the extraction results in JSONL (JSON Lines) format, which is commonly used for structured data and can be loaded for visualization or further processing.
Args: extraction_results: Results from extract_from_text or extract_from_url output_name: Name for the output file (without .jsonl extension) output_dir: Directory to save the file (default: current directory)
Returns: Dictionary with file path and save confirmation
Raises: ToolError: If save operation fails
Input Schema
Name | Required | Description | Default |
---|---|---|---|
extraction_results | Yes | ||
output_dir | No | . | |
output_name | Yes |