Class: VSM::ToolCapsule

Inherits:
Object
  • Object
show all
Includes:
ActsAsTool
Defined in:
lib/vsm/tool/capsule.rb

Direct Known Subclasses

MCP::RemoteToolCapsule, Meta::Tools::Base

Instance Attribute Summary collapse

Method Summary

Methods included from ActsAsTool

included, #tool_descriptor

Instance Attribute Details

#governanceObject



6
7
8
9
10
# File 'lib/vsm/tool/capsule.rb', line 6

def governance = @governance || (raise "governance not injected")
# Subclasses implement:
# def run(args) ... end
# Optional:
# def execution_mode = :fiber | :thread