Skip to content

ImageGenToolCall omits returned image metadata fields #574

Description

@markstuart-oai

Source reports

Current specification gap

Affected surface: POST /responses; ImageGenToolCall output.

The linked Python and Go reports identify action, background, output_format, quality, revised_prompt, and size on image_generation_call outputs. The current public component exposes only type, id, status and result.

Specification reviewed at b61ced9.

Minimal shape

{
  "background": "opaque",
  "output_format": "png",
  "quality": "high",
  "revised_prompt": "A rewritten image prompt",
  "size": "1024x1536"
}

This is a sanitized illustration of the reported shape, not a new live API capture.

Expected reconciliation

Add the supported returned metadata with accurate optionality and types. Preserve the individual source field lists and avoid SDK-only edits.

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.

The Go report additionally preserves the missing action field; the Python reports preserve size alongside the shared field list. Validate both source lists together.

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