Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::mcp::mcp_tool Struct Reference

#include <mcp_tool_registry.h>

Public Attributes

std::string name
 
std::string description
 
std::string input_schema_json
 
tool_handler handler
 
bool mutates_scene {false}
 
bool requires_main_thread {true}
 

Detailed Description

Definition at line 25 of file mcp_tool_registry.h.

Member Data Documentation

◆ description

std::string unravel::mcp::mcp_tool::description

Definition at line 28 of file mcp_tool_registry.h.

◆ handler

tool_handler unravel::mcp::mcp_tool::handler

Definition at line 30 of file mcp_tool_registry.h.

◆ input_schema_json

std::string unravel::mcp::mcp_tool::input_schema_json

Definition at line 29 of file mcp_tool_registry.h.

◆ mutates_scene

bool unravel::mcp::mcp_tool::mutates_scene {false}

Definition at line 31 of file mcp_tool_registry.h.

◆ name

std::string unravel::mcp::mcp_tool::name

Definition at line 27 of file mcp_tool_registry.h.

◆ requires_main_thread

bool unravel::mcp::mcp_tool::requires_main_thread {true}

When true (default), the handler runs entirely on the editor main thread. Set false for action+wait tools (screenshot, compile-and-poll) that must hop to main for the action, then wait on the HTTP worker while frames pump.

Definition at line 35 of file mcp_tool_registry.h.


The documentation for this struct was generated from the following file: