yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::agent::ArgumentSchema Struct Reference

Argument schema for a tool parameter. More...

#include <tool_schemas.h>

Public Member Functions

std::string ToJson () const
 

Public Attributes

std::string name
 
std::string type
 
std::string description
 
bool required = false
 
std::string default_value
 
std::vector< std::string > enum_values
 

Detailed Description

Argument schema for a tool parameter.

Definition at line 25 of file tool_schemas.h.

Member Function Documentation

◆ ToJson()

std::string yaze::cli::agent::ArgumentSchema::ToJson ( ) const
inline

Definition at line 33 of file tool_schemas.h.

References default_value, description, enum_values, name, required, and type.

Member Data Documentation

◆ name

std::string yaze::cli::agent::ArgumentSchema::name

Definition at line 26 of file tool_schemas.h.

Referenced by ToJson().

◆ type

std::string yaze::cli::agent::ArgumentSchema::type

Definition at line 27 of file tool_schemas.h.

Referenced by ToJson().

◆ description

std::string yaze::cli::agent::ArgumentSchema::description

Definition at line 28 of file tool_schemas.h.

Referenced by ToJson().

◆ required

bool yaze::cli::agent::ArgumentSchema::required = false

Definition at line 29 of file tool_schemas.h.

Referenced by ToJson().

◆ default_value

std::string yaze::cli::agent::ArgumentSchema::default_value

Definition at line 30 of file tool_schemas.h.

Referenced by ToJson().

◆ enum_values

std::vector<std::string> yaze::cli::agent::ArgumentSchema::enum_values

Definition at line 31 of file tool_schemas.h.

Referenced by ToJson().


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