Update Extraction Schema From JSON Schema
update_extraction_schema_from_json_schemaConvert an OpenAI-style schema description into the native Airparser extraction schema format and save it to an inbox, replacing the schema it had.
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": {
"inbox_id": "<inbox_id>",
"fields": "<fields>"
},
"name": "update_extraction_schema_from_json_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | OpenAI-style field definitions to convert before saving. | |
| inbox_id | Yes | Airparser inbox id. |