input, secrets, schema fields, tool contracts, and agent outputs.
Primitives
object is also available as a broad object type when you do not want to define fixed fields.
Objects
Arrays
Tuples
Unions and nullable types
Use| when a value may be one of multiple types:
maybe as nullable shorthand:
maybe string is equivalent to string | null.
Enums
Inline enum variants use commas:Schema references
Variants
Usevariant for tagged unions where each case has its own object shape.