create_schema
Save a JSON schema to your 0xPdf account for use in PDF parsing. Works with schemas from description generation or custom schemas.
Instructions
Save a JSON schema to your account (POST /api/v1/schemas). Requires API key. No wallet charge per save; subject to max saved schemas limit. Use after generate_schema_from_description or for hand-written schemas.
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": {
"name": "<name>",
"schema_def": "<schema_def>"
},
"name": "create_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| is_default | No | ||
| schema_def | Yes | ||
| response_mode | No | compact | |
| max_estimated_tokens_override | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||