set_extraction_schema
Set a structured extraction schema for an inbox by providing a valid JSON Schema to define data to extract from emails.
Instructions
Set structured extraction schema for an inbox.
Args: domain_id: Domain ID for the inbox. inbox_id: Inbox ID. name: Schema name. schema: JSON string of a valid JSON Schema object. description: Optional schema description. enabled: Enable extraction immediately (default: true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_id | Yes | ||
| inbox_id | Yes | ||
| name | Yes | ||
| schema | Yes | ||
| description | No | ||
| enabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |