ToolState constructor
- Input<
ToolAgentTool?> ? agentTool, - Input<
String?> ? app, - Input<
ToolClientFunction?> ? clientFunction, - Input<
List< ? connectorTools,ToolConnectorTool> ?> - Input<
String?> ? createTime, - Input<
ToolDataStoreTool?> ? dataStoreTool, - Input<
String?> ? deletionPolicy, - Input<
String?> ? displayName, - Input<
String?> ? etag, - Input<
String?> ? executionType, - Input<
ToolFileSearchTool?> ? fileSearchTool, - Input<
String?> ? generatedSummary, - Input<
ToolGoogleSearchTool?> ? googleSearchTool, - Input<
String?> ? location, - Input<
List< ? mcpTools,ToolMcpTool> ?> - Input<
String?> ? name, - Input<
List< ? openApiTools,ToolOpenApiTool> ?> - Input<
String?> ? project, - Input<
ToolPythonFunction?> ? pythonFunction, - Input<
List< ? remoteAgentTools,ToolRemoteAgentTool> ?> - Input<
List< ? systemTools,ToolSystemTool> ?> - Input<
String?> ? timeout, - Input<
ToolToolFakeConfig?> ? toolFakeConfig, - Input<
String?> ? toolId, - Input<
String?> ? updateTime, - Input<
ToolWidgetTool?> ? widgetTool,
Creates a new ToolState.
agentTool Represents a tool that allows the agent to call another agent.
app Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
clientFunction Represents a client-side function that the agent can invoke. When the
connectorTools A ConnectorTool allows connections to different integrations.
createTime Timestamp when the tool was created.
dataStoreTool Tool to retrieve from Vertex AI Search datastore or engine for grounding.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
displayName (Output)
etag Etag used to ensure the object hasn't changed during a read-modify-write
executionType Possible values:
fileSearchTool The file search tool allows the agent to search across the files uploaded by the
generatedSummary If the tool is generated by the LLM assistant, this field contains a
googleSearchTool Represents a tool to perform Google web searches for grounding.
location Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
mcpTools An MCP tool.
name (Output)
openApiTools A remote API tool defined by an OpenAPI schema.
project The ID of the project in which the resource belongs.
pythonFunction A Python function tool.
remoteAgentTools Represents a tool that allows the agent to call another remote agent.
systemTools The system tool.
timeout The timeout for the tool execution. If not set, the default timeout is 30
toolFakeConfig Configuration for tool behavior in fake mode.
toolId The ID to use for the tool, which will become the final component of
updateTime Timestamp when the tool was last updated.
widgetTool Represents a widget tool that the agent can invoke.
Implementation
const ToolState({
this.agentTool,
this.app,
this.clientFunction,
this.connectorTools,
this.createTime,
this.dataStoreTool,
this.deletionPolicy,
this.displayName,
this.etag,
this.executionType,
this.fileSearchTool,
this.generatedSummary,
this.googleSearchTool,
this.location,
this.mcpTools,
this.name,
this.openApiTools,
this.project,
this.pythonFunction,
this.remoteAgentTools,
this.systemTools,
this.timeout,
this.toolFakeConfig,
this.toolId,
this.updateTime,
this.widgetTool,
});