save_extraction_results
Export structured extraction results from LangExtract MCP Server to a JSONL file for storage, visualization, or further processing. Specify output name and directory for saved file.
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 |