MCPcopy Index your code
hub / github.com/simstudioai/sim / extractAllFunctionCallParts

Function extractAllFunctionCallParts

apps/sim/providers/google/utils.ts:134–138  ·  view source on GitHub ↗
(candidate: Candidate | undefined)

Source from the content-addressed store, hash-verified

132 * and all should be executed before continuing the conversation.
133 */
134export function extractAllFunctionCallParts(candidate: Candidate | undefined): Part[] {
135 if (!candidate?.content?.parts) return []
136
137 return candidate.content.parts.filter((part) => part.functionCall)
138}
139
140/**
141 * Converts usage metadata from SDK response to our format.

Callers 2

executeGeminiRequestFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected