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.
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": {
"description": "<description>"
},
"name": "generate_schema_from_description"
}
}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 | |||