Navigation
API > API/Plugins > API/Plugins/ModelContextProtocol
Description
Validates a tool name per MCP spec (2025-11-25) tool name rules. Names SHOULD be 1-128 chars using only A-Z, a-z, 0-9, underscore, hyphen, and dot.
| Name | UE::ModelContextProtocol::ValidateToolName |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ModelContextProtocol/Source/ModelContextProtocol/Public/ModelContextProtocol.h |
| Include Path | #include "ModelContextProtocol.h" |
| Source | /Engine/Plugins/Experimental/ModelContextProtocol/Source/ModelContextProtocol/Private/ModelContextProtocol.cpp |
namespace UE
{
namespace ModelContextProtocol
{
EToolNameValidation UE::ModelContextProtocol::ValidateToolName
(
const FString & ToolName
)
}
}