Skip to main content
Agents on Compose can call models for text, image, audio, or video generation. When an agent decides it needs a model — for example, to generate an image or run a different LLM — it emits a model tool event with the tool name models_call.

When this appears

A model tool event appears in the stream when the agent invokes another model as part of its work. This is separate from the agent’s own text generation, which comes through text-delta events. You will see models_call when the agent intentionally calls out to a model for a specific purpose.

Stream example

Event shape

A parsed model tool event has these fields:

Display metadata

The display object on the raw event gives you ready-to-render metadata:
  • display.name — the human-readable model name (e.g. "GPT-4o", "FLUX schnell")
  • display.target — the model ID the agent called
  • display.summary — a one-line description of the call
Use these for UI labels instead of raw identifiers.