unreal.ModelContextProtocolToolAsyncAction

class unreal.ModelContextProtocolToolAsyncAction(outer: Object | None = None, name: Name | str = 'None')

Bases: CancellableAsyncAction

deprecated: Use UToolsetDefinition (ToolsetRegistry plugin) instead. UModelContextProtocolToolAsyncAction is maintained as a legacy fallback and will be removed in a future release.

C++ Source:

  • Plugin: ModelContextProtocol

  • Module: ModelContextProtocolEngine

  • File: ModelContextProtocolToolAsyncAction.h

Editor Properties: (see get_editor_property/set_editor_property)

  • auto_register_tool (bool): [Read-Write] If true, automatically registers on module load. If false, RegisterTool must manually be called.

  • tool_function_meta_data (ModelContextProtocolFunctionMetaData): [Read-Only]

  • tool_result_meta_data (ModelContextProtocolFunctionMetaData): [Read-Only]