Skip to main content
Table of Contents

ITMSMCPToolAttribute Interface

Marks a method as a callable tool.

API unit family: TMS.MCP.Attributes Extends: ITMSMCPCustomAttribute

Syntax

TMS.MCP.Attributes.hppPascalC++
ITMSMCPToolAttribute = interface(ITMSMCPCustomAttribute)
__interface INTERFACE_UUID("{43C8C776-89A3-4980-88D8-5F7629D8E942}") ITMSMCPToolAttribute : public ITMSMCPCustomAttribute

Remarks

This is the attribute the dispatcher looks for when it resolves an incoming call back to a method, so a method without it is never invoked even when it carries other metadata attributes.