Preparing search index...
The search index is not available
@google/genai
@google/genai
types
createPartFromFunctionCall
Function createPartFromFunctionCall
createPartFromFunctionCall
(
name
:
string
,
args
:
Record
<
string
,
unknown
>
)
:
Part
Creates a
Part
object from a
FunctionCall
object.
Parameters
name
:
string
args
:
Record
<
string
,
unknown
>
Returns
Part
Settings
Theme
OS
Light
Dark
@google/genai
caches
Caches
chats
Chat
Chats
client
GoogleGenAI
GoogleGenAIOptions
files
Files
live
Live
Session
models
Models
pagers
PagedItem
Pager
types
BlockedReason
ControlReferenceType
DynamicRetrievalConfigMode
FileSource
FileState
FinishReason
FunctionCallingConfigMode
HarmBlockMethod
HarmBlockThreshold
HarmCategory
HarmProbability
HarmSeverity
ImagePromptLanguage
Language
MaskReferenceMode
MediaResolution
Modality
Mode
Outcome
PersonGeneration
SafetyFilterLevel
State
SubjectReferenceType
Type
ComputeTokensResponse
CountTokensResponse
CreateFileResponse
DeleteCachedContentResponse
EmbedContentResponse
FunctionResponse
GenerateContentResponse
GenerateContentResponsePromptFeedback
GenerateContentResponseUsageMetadata
GenerateImagesResponse
HttpResponse
ListCachedContentsResponse
ListFilesResponse
LiveClientToolResponse
ReplayResponse
SessionSendToolResponseParameters
Blob
CachedContent
CachedContentUsageMetadata
Candidate
Citation
CitationMetadata
CodeExecutionResult
ComputeTokensConfig
ComputeTokensParameters
Content
ContentEmbedding
ContentEmbeddingStatistics
ControlReferenceConfig
ControlReferenceImage
CountTokensConfig
CountTokensParameters
CreateCachedContentConfig
CreateCachedContentParameters
CreateChatParameters
CreateFileConfig
CreateFileParameters
DeleteCachedContentConfig
DeleteCachedContentParameters
DownloadFileConfig
DynamicRetrievalConfig
EmbedContentConfig
EmbedContentMetadata
EmbedContentParameters
ExecutableCode
File
FileData
FileStatus
FunctionCall
FunctionCallingConfig
FunctionDeclaration
GenerateContentConfig
GenerateContentParameters
GeneratedImage
GenerateImagesConfig
GenerateImagesParameters
GenerationConfig
GenerationConfigRoutingConfig
GenerationConfigRoutingConfigAutoRoutingMode
GenerationConfigRoutingConfigManualRoutingMode
GetCachedContentConfig
GetCachedContentParameters
GetFileConfig
GetFileParameters
GoogleSearch
GoogleSearchRetrieval
GoogleTypeDate
GroundingChunk
GroundingChunkRetrievedContext
GroundingChunkWeb
GroundingMetadata
GroundingSupport
HttpOptions
Image
ListCachedContentsConfig
ListCachedContentsParameters
ListFilesConfig
ListFilesParameters
LiveCallbacks
LiveClientContent
LiveClientMessage
LiveClientRealtimeInput
LiveClientSetup
LiveConnectConfig
LiveConnectParameters
LiveServerContent
LiveServerMessage
LiveServerSetupComplete
LiveServerToolCall
LiveServerToolCallCancellation
LogprobsResult
LogprobsResultCandidate
LogprobsResultTopCandidates
MaskReferenceConfig
MaskReferenceImage
Part
PrebuiltVoiceConfig
RawReferenceImage
ReplayFile
ReplayInteraction
ReplayRequest
Retrieval
RetrievalMetadata
SafetyRating
SafetySetting
Schema
SearchEntryPoint
Segment
SendMessageParameters
SessionSendClientContentParameters
SessionSendRealtimeInputParameters
SpeechConfig
StyleReferenceConfig
StyleReferenceImage
SubjectReferenceConfig
SubjectReferenceImage
TestTableFile
TestTableItem
ThinkingConfig
TokensInfo
Tool
ToolCodeExecution
ToolConfig
UpdateCachedContentConfig
UpdateCachedContentParameters
UploadFileConfig
UpscaleImageConfig
UpscaleImageParameters
VertexAISearch
VertexRagStore
VertexRagStoreRagResource
VideoMetadata
VoiceConfig
ContentListUnion
ContentUnion
PartListUnion
PartUnion
SchemaUnion
SpeechConfigUnion
ToolListUnion
createModelContent
createPartFromBase64
createPartFromCodeExecutionResult
createPartFromExecutableCode
createPartFromFunctionCall
createPartFromFunctionResponse
createPartFromText
createPartFromUri
createPartFromVideoMetadata
createUserContent
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
Creates a
Part
object from aFunctionCall
object.