PATCH /v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/tools/{toolsId}
Changed onUpdates the specified tool.
Request
- Base URLhttps://ces.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cesAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/ces
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
Request body
A tool represents an action that the CES agent can take to achieve certain goals.
Represents a tool that allows the agent to call another agent.
Represents a client-side function that the agent can invoke. When the tool is chosen by the agent, control is handed off to the client. The client is responsible for executing the function and returning the result as a ToolResponse to continue the interaction with the agent.
A ConnectorTool allows connections to different integrations. See: https://cloud.google.com/integration-connectors/docs/overview.
Output only. Timestamp when the tool was created.
Tool to retrieve from Vertex AI Search datastore or engine for grounding. Accepts either a datastore or an engine, but not both. See Vertex AI Search: https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction.
Output only. The display name of the tool, derived based on the tool's type. For example, display name of a ClientFunction is derived from its name property.
Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
Optional. The execution type of the tool.
The file search tool allows the agent to search across the files uploaded by the app/agent developer. It has presets to give relatively good quality search over the uploaded files and summarization of the retrieved results.
Output only. If the tool is generated by the LLM assistant, this field contains a descriptive summary of the generation.
Represents a tool to perform Google web searches for grounding. See https://cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool#google-search.
An MCP tool. See https://modelcontextprotocol.io/specification/2025-06-18/server/tools for more details.
Identifier. The resource name of the tool. Format: * projects/{project}/locations/{location}/apps/{app}/tools/{tool} for standalone tools. * projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool} for tools retrieved from a toolset. These tools are dynamic and output-only; they cannot be referenced directly where a tool is expected.
A remote API tool defined by an OpenAPI schema.
A Python function tool.
Output only. Indicates whether the tool is read-only. If true, the tool cannot be modified by the user.
Represents a tool that allows the agent to call another remote agent.
Pre-defined system tool.
Optional. The timeout for the tool execution. If not set, the default timeout is 30 seconds for SYNCHRONOUS tools and 60 seconds for ASYNCHRONOUS tools.
Configuration for tool behavior in fake mode.
Output only. Timestamp when the tool was last updated.
Represents a widget tool that the agent can invoke. When the tool is chosen by the agent, agent will return the widget to the client. The client is responsible for processing the widget and generating the next user query to continue the interaction with the agent.
Response
Successful response
A tool represents an action that the CES agent can take to achieve certain goals.
Represents a tool that allows the agent to call another agent.
Represents a client-side function that the agent can invoke. When the tool is chosen by the agent, control is handed off to the client. The client is responsible for executing the function and returning the result as a ToolResponse to continue the interaction with the agent.
A ConnectorTool allows connections to different integrations. See: https://cloud.google.com/integration-connectors/docs/overview.
Output only. Timestamp when the tool was created.
Tool to retrieve from Vertex AI Search datastore or engine for grounding. Accepts either a datastore or an engine, but not both. See Vertex AI Search: https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction.
Output only. The display name of the tool, derived based on the tool's type. For example, display name of a ClientFunction is derived from its name property.
Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
Optional. The execution type of the tool.
The file search tool allows the agent to search across the files uploaded by the app/agent developer. It has presets to give relatively good quality search over the uploaded files and summarization of the retrieved results.
Output only. If the tool is generated by the LLM assistant, this field contains a descriptive summary of the generation.
Represents a tool to perform Google web searches for grounding. See https://cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool#google-search.
An MCP tool. See https://modelcontextprotocol.io/specification/2025-06-18/server/tools for more details.
Identifier. The resource name of the tool. Format: * projects/{project}/locations/{location}/apps/{app}/tools/{tool} for standalone tools. * projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool} for tools retrieved from a toolset. These tools are dynamic and output-only; they cannot be referenced directly where a tool is expected.
A remote API tool defined by an OpenAPI schema.
A Python function tool.
Output only. Indicates whether the tool is read-only. If true, the tool cannot be modified by the user.
Represents a tool that allows the agent to call another remote agent.
Pre-defined system tool.
Optional. The timeout for the tool execution. If not set, the default timeout is 30 seconds for SYNCHRONOUS tools and 60 seconds for ASYNCHRONOUS tools.
Configuration for tool behavior in fake mode.
Output only. Timestamp when the tool was last updated.
Represents a widget tool that the agent can invoke. When the tool is chosen by the agent, agent will return the widget to the client. The client is responsible for processing the widget and generating the next user query to continue the interaction with the agent.
Changes
- info
the security scope
https://www.googleapis.com/auth/ceswas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/ceswas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas removed from the endpoint's security schemeOauth2
1 more change in this revision
- info