Content Extract
content_extractExtract structured data from text using a JSON Schema. Define fields and get guaranteed structured output for parsing, analysis, or storage.
Instructions
Extract structured data from content using a JSON Schema.
Uses Gemini's response_json_schema for guaranteed structured output.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>",
"schema": "<schema>"
},
"name": "content_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | JSON Schema defining the extraction structure | |
| content | Yes | Text content to extract from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||