Table of Contents

Class FunctionCall

Namespace
Mythosia.AI.Models.Functions
Assembly
Mythosia.AI.Abstractions.dll

Represents a function call from AI

public class FunctionCall
Inheritance
FunctionCall
Inherited Members

Constructors

FunctionCall()

public FunctionCall()

Properties

Arguments

Function arguments

public Dictionary<string, object> Arguments { get; set; }

Property Value

Dictionary<string, object>

Id

The original ID from the source

public string Id { get; set; }

Property Value

string

Index

Stable provider-assigned position used to correlate streaming call and result events. It can contain gaps when the provider interleaves non-function output items.

public int Index { get; set; }

Property Value

int

Metadata

Provider-specific data that must travel with this call, such as a Gemini thought signature.

public Dictionary<string, object>? Metadata { get; set; }

Property Value

Dictionary<string, object>

Name

Function name

public string Name { get; set; }

Property Value

string

Source

Where this ID came from

public IdSource Source { get; set; }

Property Value

IdSource