MCPcopy Create free account
hub / github.com/google/adk-python / get_function_responses

Method get_function_responses

src/google/adk/models/llm_response.py:167–174  ·  view source on GitHub ↗

Returns the function responses in the response.

(self)

Source from the content-addressed store, hash-verified

165 return func_calls
166
167 def get_function_responses(self) -> list[types.FunctionResponse]:
168 """Returns the function responses in the response."""
169 func_responses = []
170 if self.content and self.content.parts:
171 for part in self.content.parts:
172 if part.function_response:
173 func_responses.append(part.function_response)
174 return func_responses
175
176 @staticmethod
177 def create(

Calls 1

appendMethod · 0.45