Skip to main content
Glama

content_extract

Extract structured data from text content using JSON Schema. Guarantees structured output by leveraging Gemini's response schema for reliable data extraction.

Instructions

Extract structured data from content using a JSON Schema.

Uses Gemini's response_json_schema for guaranteed structured output.

Args: content: Source text to extract data from. schema: JSON Schema describing the desired output structure.

Returns: Dict matching the provided schema, or error dict on parse failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesText content to extract from
schemaYesJSON Schema defining the extraction structure

Latest Blog Posts

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/Galbaz1/video-research-mcp'

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