v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1336218221.3 KB
projects

Executes the given tool with the given arguments.

post/v1/{+parent}:executeTool

Path parameters

parentstring required

Required. The resource name of the app which the tool/toolset belongs to. Format: projects/{project}/locations/{location}/apps/{app}

Request body

toolstring

Optional. The name of the tool to execute. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}

variablesobject

Optional. The variables that are available for the tool execution.

contextobject

Optional. The [ToolCallContext](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/python#environment for details) to be passed to the Python tool.

argsobject

Optional. The input parameters and values for the tool in JSON object format.

Response

Successful response