Loading...
Searching...
No Matches
BinaryNinja::MCP::Tool Class Reference

Public Member Functions

 Tool (BNMcpTool *tool)
std::string GetName () const
std::string GetTitle () const
std::string GetDescription () const
std::string GetInputSchema () const
std::string GetOutputSchema () const
 Empty when the tool has no output schema.
Scope GetScope () const
uint32_t GetAnnotations () const
Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNMcpTool, BNNewMcpToolReference, BNFreeMcpTool >
 CoreRefCountObject ()
virtual ~CoreRefCountObject ()
BNMcpTool * GetObject () const
void AddRef ()
void Release ()
void AddRefForRegistration ()
void ReleaseForRegistration ()
void AddRefForCallback ()
void ReleaseForCallback ()

Static Public Member Functions

static std::vector< Ref< Tool > > GetList ()
 Sorted by name.
static Ref< Tool > GetByName (const std::string &name)

Additional Inherited Members

Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNMcpTool, BNNewMcpToolReference, BNFreeMcpTool >
std::atomic< int > m_refs
bool m_registeredRef
BNMcpTool * m_object

Constructor & Destructor Documentation

◆ Tool()

Tool::Tool ( BNMcpTool * tool)
explicit

Member Function Documentation

◆ GetList()

std::vector< Ref< Tool > > Tool::GetList ( )
static

Sorted by name.

◆ GetByName()

Ref< Tool > Tool::GetByName ( const std::string & name)
static

◆ GetName()

std::string Tool::GetName ( ) const

◆ GetTitle()

std::string Tool::GetTitle ( ) const

◆ GetDescription()

std::string Tool::GetDescription ( ) const

◆ GetInputSchema()

std::string Tool::GetInputSchema ( ) const

◆ GetOutputSchema()

std::string Tool::GetOutputSchema ( ) const

Empty when the tool has no output schema.

◆ GetScope()

Scope Tool::GetScope ( ) const

◆ GetAnnotations()

uint32_t Tool::GetAnnotations ( ) const