langextract_extract
Extract structured entities from literal text and return grounded source spans, using example-guided prompts and optional HTML visualization.
Instructions
Extract structured entities from literal text and return grounded spans.
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": {
"text": "<text>",
"prompt_description": "<prompt_description>",
"examples": "<examples>"
},
"name": "langextract_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| examples | Yes | ||
| max_workers | No | ||
| grounded_only | No | ||
| visualization | No | ||
| max_char_buffer | No | ||
| extraction_passes | No | ||
| prompt_description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||