Create a schema
create_schemaSave a JSON Schema as a DocuPipe schema so extractions return consistent fields; define object properties with descriptions and arrays of objects for line items.
Instructions
Save a JSON Schema as a DocuPipe schema so every extraction returns the same fields. Free. Use type object with a description on each property; arrays of objects for line items.
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": {
"schema_name": "<schema_name>",
"json_schema": "<json_schema>"
},
"name": "create_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guidelines | No | Plain-language instructions applied whenever this schema is used. | |
| json_schema | Yes | ||
| schema_name | Yes |