|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Internet and Network > MCP. - MCP (Model-Context Protocol) server operations > Server Lifecycle - Commands for managing the MCP server lifecycle (init, start, stop) > MCP Commands - DEPRECATED |
MCP.SetFunctionState (DEPRECATED) |
Top |
MiniRobot Language (MRL) - Legacy Function Commands
⚠️ DEPRECATED
This command was removed in MCP v2. It only works with legacy v1 SLL.
MCP.SetFunctionState
Set function state (DEPRECATED)
Migration Path
This command has been replaced by MCP.ToolSetState for controlling tool states in MCP v2.
v2 Replacement Syntax
' Instead of: MCP.SetFunctionState|$$FUNCTION_NAME|$$STATE
' Use: MCP.ToolSetState|$$TOOL_NAME|$$STATE
MCP.ToolSetState|FileRead|ENABLED
Legacy Syntax (v1 SPR only - not in public MCP-Server)
MCP.SetFunctionState|$$FUNCTION_NAME|$$STATE
Legacy Description
Enabled or disabled a specific function in the legacy v1 FunctionalMemory system. In MCP v2, the concept of "functions" has been replaced by "tools" with a more robust state management system.
Replacement Command
• MCP.ToolSetState - Set tool state (v2 replacement)
See also:
• MCP.ToolGetState - Get tool state
• MCP.EnableWhitelist - Enable whitelist