Table of Contents

Method Remove

Namespace
LMKit.Agents.Tools
Assembly
LM-Kit.NET.dll

Remove(string)

Removes a previously registered tool by its exact Name.

public bool Remove(string name)

Parameters

name string

The exact name of the tool to remove (compared with Ordinal).

Returns

bool

true if the tool was found and removed; otherwise false.

Remarks

This is a write operation and is not thread-safe. Synchronize externally if needed. The removal is idempotent with respect to missing entries (returns false).

Exceptions

ArgumentException

Thrown when name is null, empty, or whitespace.