LLMContextFrame (which inherits directly from Frame) and the helper dataclasses used by function calling frames. All other LLM-related frames are documented on their base-type pages. See Related Frames below for links.
LLMContextFrame
Contains a complete LLM context. Acts as a signal to LLM services to ingest the provided context and generate a response. Inherits directly fromFrame (not DataFrame, ControlFrame, or SystemFrame).
The LLM context containing messages, tools, and configuration.
Function Calling Helper Dataclasses
These are plain dataclasses used as fields within function calling frames, not frames themselves.FunctionCallFromLLM
Represents a function call returned by the LLM, ready for execution.The name of the function to call.
A unique identifier for the function call.
The arguments to pass to the function.
The LLM context at the time the function call was made.
FunctionCallResultProperties
Configures how a function call result is handled after execution.Whether to run the LLM after receiving this result.
Async callback to execute when the context is updated with the result.
Related Frames
LLM-related frames organized by base type:- Data Frames: Context Management, Thinking, Tool Configuration, Function Call Results
- Control Frames: Response Boundaries, Context Summarization, Thought Frames, Function Calling, Service Settings
- System Frames: Function Calling