MCPcopy Index your code
hub / github.com/google/adk-python / InvocationEvent

Class InvocationEvent

src/google/adk/evaluation/eval_case.py:54–68  ·  view source on GitHub ↗

An immutable record representing a specific point in the agent's invocation. It captures agent's replies, requests to use tools (function calls), and tool results. This structure is a simple projection of the actual `Event` datamodel that is intended for the Eval System.

Source from the content-addressed store, hash-verified

52
53
54class InvocationEvent(EvalBaseModel):
55 """An immutable record representing a specific point in the agent's invocation.
56
57 It captures agent's replies, requests to use tools (function calls), and tool
58 results.
59
60 This structure is a simple projection of the actual `Event` datamodel that
61 is intended for the Eval System.
62 """
63
64 author: str
65 """The name of the agent that authored/owned this event."""
66
67 content: Optional[genai_types.Content]
68 """The content of the event."""
69
70
71class InvocationEvents(EvalBaseModel):

Calls

no outgoing calls