ezEngine Release 26.9
Loading...
Searching...
No Matches
ezMcpToolDesc Struct Reference

Describes one callable function, as it appears in the MCP client's tool list. More...

#include <McpTool.h>

Public Attributes

ezString m_sName
 
ezString m_sDescription
 
ezString m_sInputSchema
 

Detailed Description

Describes one callable function, as it appears in the MCP client's tool list.

Member Data Documentation

◆ m_sDescription

ezString ezMcpToolDesc::m_sDescription

What the tool does. This is the only thing an AI agent has to go by when deciding whether to call it, so be specific about what it returns and what it modifies.

◆ m_sInputSchema

ezString ezMcpToolDesc::m_sInputSchema

The JSON schema of the arguments, as a raw JSON object. Empty means 'no arguments'. E.g. R"({"type":"object","properties":{"count":{"type":"number"}}})"

◆ m_sName

ezString ezMcpToolDesc::m_sName

The name the client calls. Must be unique across all providers. Convention is lower snake_case, prefixed with the area, e.g. 'log_write'.


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