image_extract
Extract structured data from images by defining extraction instructions and a JSON schema for validation. Outputs parsed data in a specified format.
Instructions
Extract structured data from an image with schema validation.
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": {
"image_ref": "<image_ref>",
"instruction": "<instruction>",
"json_schema": "<json_schema>"
},
"name": "image_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_ref | Yes | ||
| instruction | Yes | ||
| json_schema | Yes | ||
| language | No | ||
| max_output_tokens | No | ||
| model | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||