AgentConfig

Configuration for an Agent.

Fields
developerInstruction object ( InstanceData )

Optional. A field containing instructions from the developer for the agent.

tools_data Union type
Data for the tools available to the agent. tools_data can be only one of the following:
toolsText string

A JSON string containing a list of tools available to an agent with info such as name, description, parameters and required parameters.

tools object ( Tools )

List of tools.

JSON representation
 { 
 "developerInstruction" 
 : 
 { 
 object (  InstanceData 
 
) 
 } 
 , 
 // tools_data 
 "toolsText" 
 : 
 string 
 , 
 "tools" 
 : 
 { 
 object (  Tools 
 
) 
 } 
 // Union type 
 } 

Tools

Represents a list of tools for an agent.

Fields
tool[] object ( Tool )

Optional. List of tools: each tool can have multiple function declarations.

JSON representation
 { 
 "tool" 
 : 
 [ 
 { 
 object (  Tool 
 
) 
 } 
 ] 
 } 
Design a Mobile Site
View Site in Mobile | Classic
Share by: