set_extraction_schema
Define a JSON Schema to extract structured data from emails in a specific inbox. Provide schema name, domain ID, inbox ID, and optionally enable extraction immediately.
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 |
|---|---|---|---|
| name | Yes | ||
| schema | Yes | ||
| enabled | No | ||
| inbox_id | Yes | ||
| domain_id | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |