modelstringrequiredA model name. Missing is refused on save.
inputsarray[{ type: "text", content }], images included.
outputsarrayWhat to produce. Text by default.
schemaobjectA JSON schema. The answer comes back as an object instead of prose.
settingsobjectTemperature, output cap, thinking.
storagestringA storage whose documents give it context.
Output
{{steps.classify.output.text}} // the prose
{{steps.classify.output.usage.credits}} // what it cost"{{steps.classify.output.text}}" # the prose
"{{steps.classify.output.usage.credits}}" # what it costWith a schema, the fields of the object are readable directly — which is what makes a model's answer safe to branch on.
Use a schema whenever a later step reads it
A condition testing whether text contains « urgent » breaks the first time the model writes « this is not urgent ». A schema gives a boolean, and the condition reads a boolean.
{ id: "classify", type: "model.generate", config: {
model: "gemini-3.5-flash",
schema: { type: "object", properties: { urgent: { type: "boolean" }, reason: { type: "string" } } },
inputs: [{ type: "text", content: "Is this urgent? {{input.text}}" }],
} }{"id": "classify", "type": "model.generate", "config": {
"model": "gemini-3.5-flash",
"schema": {"type": "object", "properties": {"urgent": {"type": "boolean"}, "reason": {"type": "string"}}},
"inputs": [{"type": "text", "content": "Is this urgent? {{input.text}}"}],
}}It is a model call
Billed like any other, and the step reports its credits. On a scheduled or inbound trigger, that cost is paid on every firing — put the cheap checks before it.