Class DeleteToolRequest (0.3.0)

DeleteToolRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for AgentService.DeleteTool.

Attributes

Name Description
name str
Required. The resource name of the tool to delete.
force bool
Optional. Indicates whether to forcefully delete the tool, even if it is still referenced by agents/examples. - If force = false, the deletion will fail if any agents still reference the tool. - If force = true, all existing references from agents will be removed and the tool will be deleted.
etag str
Optional. The current etag of the tool. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the tool, deletion will be blocked and an ABORTED error will be returned.