JsonInputDefinition
Declares a 'json' input value: any JSON-serializable value, optionally checked by a parser.
Properties
Section titled “Properties”dataType
Section titled “dataType”
readonlydataType:"json"
Discriminator naming this data type.
mandatory
Section titled “mandatory”
readonlymandatory:boolean
Whether the value must be present.
parse?
Section titled “parse?”
readonlyoptionalparse?:JsonParse<any>
Parser that validates and narrows the value, in the shape of zod’s safeParse.
schema?
Section titled “schema?”
readonlyoptionalschema?:JsonSchema
The JSON Schema of the zod schema the value was declared with, when it was declared with one rather than a parse function: what tells a consumer, such as an MCP tool listing, the shape the value takes. The Runtime does not apply it.
readonlytype:"value"
Discriminator for a single value.

