Class McpTool (0.7.2)

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

Details describing an MCP Tool.

Attributes

Name Description
name str
Required. The name of the tool, unique within its parent scope (version).
title str
Optional. Optional title for the tool.
description str
Optional. Description of what the tool does.
annotations google.cloud.apihub_v1.types.ToolAnnotations
Optional. Optional annotations for the tool.
input_schema google.cloud.apihub_v1.types.OperationSchema
Optional. Input schema for the operation. This can be parsed only from MCP schema type.
output_schema google.cloud.apihub_v1.types.OperationSchema
Optional. Output schema for the operation. This can be parsed only from MCP schema type.