Registry of all tool schemas. More...
#include <tool_schemas.h>
Public Member Functions | |
| void | Register (const ToolSchema &schema) |
| const ToolSchema * | Get (const std::string &name) const |
| std::vector< ToolSchema > | GetAll () const |
| std::vector< ToolSchema > | GetByCategory (const std::string &category) const |
| std::string | ExportAllAsJson () const |
| Export all schemas as JSON array for function calling APIs. | |
| std::string | ExportAllAsMarkdown () const |
| Export all schemas as Markdown documentation. | |
| std::string | GenerateLLMPrompt () const |
| Generate LLM system prompt section for tools. | |
Static Public Member Functions | |
| static ToolSchemaRegistry & | Instance () |
Private Member Functions | |
| ToolSchemaRegistry () | |
| void | RegisterBuiltinSchemas () |
Private Attributes | |
| std::map< std::string, ToolSchema > | schemas_ |
Registry of all tool schemas.
Definition at line 190 of file tool_schemas.h.
|
inlineprivate |
Definition at line 286 of file tool_schemas.h.
References RegisterBuiltinSchemas().

|
inlinestatic |
Definition at line 192 of file tool_schemas.h.
|
inline |
Definition at line 197 of file tool_schemas.h.
References yaze::cli::agent::ToolSchema::name, and schemas_.
Referenced by RegisterBuiltinSchemas().
|
inline |
Definition at line 199 of file tool_schemas.h.
References yaze::zelda3::name, and schemas_.
|
inline |
Definition at line 204 of file tool_schemas.h.
References schemas_.
|
inline |
Definition at line 212 of file tool_schemas.h.
References yaze::zelda3::category, and schemas_.
|
inline |
Export all schemas as JSON array for function calling APIs.
Definition at line 225 of file tool_schemas.h.
References schemas_.
|
inline |
Export all schemas as Markdown documentation.
Definition at line 240 of file tool_schemas.h.
References yaze::zelda3::category, and schemas_.
|
inline |
Generate LLM system prompt section for tools.
Definition at line 262 of file tool_schemas.h.
References schemas_.
|
inlineprivate |
Definition at line 288 of file tool_schemas.h.
References Register().
Referenced by ToolSchemaRegistry().

|
private |
Definition at line 735 of file tool_schemas.h.
Referenced by ExportAllAsJson(), ExportAllAsMarkdown(), GenerateLLMPrompt(), Get(), GetAll(), GetByCategory(), and Register().