|
cxxmcp 1.1.6
C++ MCP SDK
|
Tool selection behavior supplied to sampling/createMessage.
More...
#include <sampling.hpp>
Static Public Member Functions | |
| static ToolChoice | auto_choice () |
| Lets the model decide whether to use tools. | |
| static ToolChoice | required () |
| Requires the model to use a tool. | |
| static ToolChoice | none () |
| Prevents model tool use. | |
Public Attributes | |
| std::optional< ToolChoiceMode > | mode |
| Optional selection mode. Missing preserves an empty object if present. | |
| Json | extensions = Json::object() |
| Unknown JSON members preserved for forward-compatible round trips. | |
Tool selection behavior supplied to sampling/createMessage.