ai_extract
Extracts structured data from report section text using an LLM and a JSON Schema, with optional instructions.
Instructions
Run LLM structured extraction over report section text.
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>",
"schema": "<schema>"
},
"name": "ai_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | section body text. | |
| prompt | No | optional extra instructions. | |
| schema | Yes | JSON Schema the output must conform to (a record or array of records). | |
| max_chars | No | truncate input to this many chars (default 12000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||