Skip to content

WebSearchToolCall incorrectly requires an action on every returned item #572

Description

@markstuart-oai

Source reports

Current specification gap

Affected surface: POST /responses; WebSearchToolCall.action.

The Python report observes completed web_search_call objects with action=None. That SDK representation alone does not distinguish omission from JSON null. The current public schema requires action on every item. Please reconcile requiredness with completed items whose action is absent, and verify JSON-null behavior separately.

Specification reviewed at b61ced9.

Expected reconciliation

Make action optional where the API omits it. Determine JSON-null behavior separately; do not infer it solely from a Python None representation.

Verification scope

Reviewed the source reports, relevant comments, and current published schema. No new live API request was made. This mirrors the specification gap and preserves the original reproduction; it does not claim that a fix has shipped.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingspecificationOpenAPI contract, authored schema, or specification publication defects.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions