agentic-openapi-parser
Preparing search index...
adapters/shared
buildZodSchemaForTool
Function buildZodSchemaForTool
buildZodSchemaForTool
(
toolDef
:
DynamicToolDefinition
,
)
:
ZodObject
<
Readonly
<
{
[
k
:
string
]:
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
,
>
;
}
,
>
,
>
Builds the full tool-call schema (parameters + requestBody, if any) for a tool definition.
Parameters
toolDef
:
DynamicToolDefinition
Returns
ZodObject
<
Readonly
<
{
[
k
:
string
]:
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
,
>
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
agentic-openapi-parser
Loading...
Builds the full tool-call schema (parameters + requestBody, if any) for a tool definition.