Table of Contents

TTMSMCPToolBuilder.DestructiveHint Method

Warns that the tool may change or remove existing data in a way that cannot be undone, so a client should confirm with the user before invoking it. It only carries meaning for a tool that is not read-only.

API unit family: TMS.MCP.Tools Declaring type: TTMSMCPToolBuilder

Syntax

class function DestructiveHint(AValue: Boolean = True): TTMSMCPToolBuilderClass;

Parameters

Name Description
AValue When True, the hint is published; when False, it is cleared.

Returns

The tool builder class, so the configuration can be chained.