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

Method get_function_calls

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

Returns the function calls in the response.

(self)

Source from the content-addressed store, hash-verified

156 """
157
158 def get_function_calls(self) -> list[types.FunctionCall]:
159 """Returns the function calls in the response."""
160 func_calls = []
161 if self.content and self.content.parts:
162 for part in self.content.parts:
163 if part.function_call:
164 func_calls.append(part.function_call)
165 return func_calls
166
167 def get_function_responses(self) -> list[types.FunctionResponse]:
168 """Returns the function responses in the response."""

Callers 15

call_agent_asyncFunction · 0.80
run_asyncMethod · 0.80
_event_function_call_idsFunction · 0.80
_normalize_idsFunction · 0.80
test_agent_replayFunction · 0.80
rebuild_testsFunction · 0.80
execute_queryFunction · 0.80
get_event_graphMethod · 0.80

Calls 1

appendMethod · 0.45