cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::protocol::ToolCall Struct Reference

Parameters for tools/call. More...

#include <tool.hpp>

Public Attributes

std::string name
 Tool name matching a ToolDefinition.
 
Json arguments = Json::object()
 JSON argument object validated against the tool input schema.
 
std::optional< TaskRequestParameterstask
 Optional task request parameters when asynchronous execution is desired.
 
std::optional< Jsonmeta
 Optional _meta extension object preserved on the wire.
 
std::optional< std::string > request_state
 Opaque request state echoed back on MRTR retries (SEP-2322).
 
std::optional< Jsoninput_responses
 Client-provided responses to server input requests (MRTR).
 
Json extensions = Json::object()
 Unknown JSON members preserved for forward-compatible round trips.
 

Detailed Description

Parameters for tools/call.


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