# Agents SDK ImageGenerationTool, tool\_config documentation

**URL:** <https://community.openai.com/t/agents-sdk-imagegenerationtool-tool-config-documentation/1331590>\
**Category:** API\
**Created:** [August 2, 2025, 7:33am UTC](https://community.openai.com/t/agents-sdk-imagegenerationtool-tool-config-documentation/1331590 "2025-08-02T07:33:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![good\_bot](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@good\_bot](https://community.openai.com/u/good_bot)\
**Post date:** [August 2, 2025, 7:33am UTC](https://community.openai.com/t/agents-sdk-imagegenerationtool-tool-config-documentation/1331590/1 "2025-08-02T07:33:48Z")

</div>

Does anyone know all accepted parameters for the `tool_config`, in the ImageGenerationTool [2](https://github.com/openai/openai-agents-python/blob/main/examples/tools/image_generator.pyhttps://openai.github.io/openai-agents-python/ref/tool/#agents.tool.ImageGenerationTool)? I can run the example found in Github [1](https://github.com/openai/openai-agents-python/blob/main/examples/tools/image_generator.py), but if I for example try

```auto
tools=[
    ImageGenerationTool(
        tool_config={"type": "image_generation",
                     "quality": "low",
                     "style": "comic book"},
    )

```

I get `unknown parameter` error.

The tool config documentation says

```auto
"""The tool config, which image generation settings."""

```

Am I missing something obvious here?
