The handler receives std::optional<Value>, empty when the argument is absent or null. More...
The handler receives std::optional<Value>, empty when the argument is absent or null.
Public Types | |
| using | Value = std::optional<typename Kind::Value> |
| using | Parsed = Value |
Public Member Functions | |
| OptionalParam (Kind param) | |
| const std::string & | GetName () const |
| bool | IsRequired () const |
| const std::string * | GetRelativeTo () const |
| void | AddSchema (rapidjson::Value &properties, detail::Allocator &allocator) const |
| ArgumentResult< Value > | Absent () const |
| ArgumentResult< Value > | Convert (ToolCall &call, const rapidjson::Value &value, const ConvertedArguments &converted) const |
| using BinaryNinja::MCP::OptionalParam< Kind >::Value = std::optional<typename Kind::Value> |
| using BinaryNinja::MCP::OptionalParam< Kind >::Parsed = Value |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |