Define structured research tasks with customizable input and output schemas.
Component | Required | Purpose | Format |
---|---|---|---|
Output Schema | Yes | Defines the structure and fields of the task result | JSON Schema or Text |
Input Schema | No | Specifies expected input parameters and their formats | JSON Schema or Text |
Field | Type | Required | Description |
---|---|---|---|
output | Schema object or string | Yes | Description and structure of the desired output |
input | Schema object or string | No | Description and structure of input parameters |
auto
mode enables Deep Research style outputs only in processors Pro
and above. Read more about Deep Research here. description
fields for inputs and outputs. Adjusting description
fields is akin to ‘prompt engineering’ for the Task Spec.
Identify what schema your use case requires
auto
schemaDefine effective inputs
Define effective outputs (relevant when using JSONSchema outputs)
description
where possibledescription
fields by using this format: Entity (what are you researching), Action (what do you want to find), Specifics (constraints, time periods, formatting requirements), and Error Handling (eg. if unavailable, return “Not Available”).ceo_name
instead of name
headquarters_address
** instead of address
annual_revenue_2024
** instead of revenue
YYYY-MM-DD
revenue_in_millions
, employee_count
top_5_products
, recent_3_acquisitions
reasoning
or confidence_score
as these are already included in the basisAdditional instructions
description
field is available. For example:Rule | Type | Description |
---|---|---|
Root type must be object | error | The root schema must have "type": "object" |
Root must have properties | error | The root object must have a properties field |
Root cannot use anyOf | error | The root level cannot use anyOf |
Standalone null type | error | null type is only allowed in union types or anyOf |
All fields must be required | warning | All properties should be listed in the required array |
additionalProperties must be false | warning | All object types should set additionalProperties: false |
null
. For example, "type": ["string", "null"]
allows a field to be either a string or null, effectively making it optional while maintaining schema compliance.Rule | Type | Limit | Description |
---|---|---|---|
Nesting depth | error | 5 levels | Maximum nesting depth of objects and arrays |
Total properties | error | 100 | Maximum total number of properties across all levels |
Total string length | error | 15,000 chars | Maximum total string length for names and values |
Enum values | error | 500 | Maximum number of enum values across all properties |
Large enum string length | error | 7,500 chars | Maximum string length for enums with >250 values |
Task spec size | error | 10,000 chars | Maximum length of the task specification |
Total size | error | 15,000 chars | Maximum combined length of task specification and input data |
contains
, format
, maxContains
, maxItems
, maxLength
, maxProperties
, maximum
, minContains
, minItems
, minLength
, minimum
, minProperties
, multipleOf
, pattern
, patternProperties
, propertyNames
, uniqueItems
, unevaluatedItems
, unevaluatedProperties
irements: it has an object root type with properties, all fields are required, and additionalProperties
is set to false.