Derives a TS type from a JSONSchema literal. Used by B.ai.tool.custom() to type the executor's args from the schema. Supports object/array/string/number/integer/boolean/null, plus enum and const.
JSONSchema
B.ai.tool.custom()
args
enum
const
Derives a TS type from a
JSONSchemaliteral. Used byB.ai.tool.custom()to type the executor'sargsfrom the schema. Supports object/array/string/number/integer/boolean/null, plusenumandconst.