generate_schema_from_description
Generate a JSON schema from a natural language description to define how PDF data is extracted. Use with create_schema to save and reuse.
Instructions
AI-generate a JSON schema from a description (POST /api/v1/schemas/generate). Requires API key, payment method, and prepaid wallet balance. Debits the same wallet ledger as PDF/OCR parsing on each successful generation. Pair with create_schema to persist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refinement | No | ||
| description | Yes | ||
| response_mode | No | compact | |
| selected_text | No | ||
| current_schema | No | ||
| max_estimated_tokens_override | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||