Skip to main content
Glama

LangExtract MCP Server

by larsenweigle

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

NameRequiredDescriptionDefault
extraction_resultsYes
output_dirNo.
output_nameYes

Input Schema (JSON Schema)

{ "properties": { "extraction_results": { "additionalProperties": true, "title": "Extraction Results", "type": "object" }, "output_dir": { "default": ".", "title": "Output Dir", "type": "string" }, "output_name": { "title": "Output Name", "type": "string" } }, "required": [ "extraction_results", "output_name" ], "type": "object" }
Install Server

Other Tools from LangExtract MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/larsenweigle/langextract-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server