MCPcopy Create free account
hub / github.com/openai/openai-agents-python / ImageGenerationTool

Class ImageGenerationTool

src/agents/tool.py:993–1001  ·  view source on GitHub ↗

A tool that allows the LLM to generate images.

Source from the content-addressed store, hash-verified

991
992@dataclass
993class ImageGenerationTool:
994 """A tool that allows the LLM to generate images."""
995
996 tool_config: ImageGeneration
997 """The tool config, which includes image generation settings."""
998
999 @property
1000 def name(self):
1001 return "image_generation"
1002
1003
1004@dataclass

Callers 2

mainFunction · 0.90

Calls

no outgoing calls

Tested by 1