Skip to content

zod helpder for RealtimeFunctionTool #1809

@AkioHoshikawa

Description

@AkioHoshikawa

Confirm this is a feature request for the Node library and not the underlying OpenAI API.

  • This is a feature request for the Node library

Describe the feature or improvement you're requesting

For Responses API, there is zodResponsesFunction which helps us to define Function Tools. However, it cannot be used for Function Tools in Realtime API since its interface is slightly different (strict does not exist for Realtime API).

Could you please provide something like zodRealtimeFunction to help defining Function Tools for Realtime API?

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions