Creates a type where dynamic fields are optional and static fields remain required.
This type is used internally by toolBuilder to represent the input type that the LLM can provide
incrementally. Dynamic fields are made optional, while static fields optionality is preserved.
Type Parameters
InputTypeextendsRecord<string,unknown>
The full input type (typically inferred from a Zod schema).
Creates a type where dynamic fields are optional and static fields remain required.
This type is used internally by
toolBuilderto represent the input type that the LLM can provide incrementally. Dynamic fields are made optional, while static fields optionality is preserved.