Generate Response from Model and agentic mode
IntermediateBuild model-response workflows with message history, streaming, tool calls, and safe agentic mode boundaries.
What you'll learn
- What Agentic mode On and Off mean
- How Messages and Save Message History To preserve context
- Why tool definitions must be specific and auditable
Generate Response from Model gets a text response from an AI model. In FileMaker 22.0, it can also run in agentic mode, where the model may call tools repeatedly and FileMaker executes those tool calls in a controlled environment.
Stuck is a valid status
Need a second brain on this one?
If this lesson just collided with your real schema, script stack, or deadline, book consulting and turn the confusion into a concrete plan.
1/3
1
Build a simple chat response first
For ordinary chat, leave tool definitions out and store message history in a variable or field. Stream can make the UI feel responsive while the model responds.
FileMaker Script
Generate Response from Model [ Account Name: "main-ai" ; Model: Global::ModelName ; User Prompt: $UserPrompt ; Response: Chat::Response ; Messages: $$Messages ; Save Message History To: $$Messages ; Message History Count: 10 ; Stream ]
Sign in to track your progress and pick up where you left off.
Sign in to FM Dojo