Navigation
API > API/Plugins > API/Plugins/ModelContextProtocol > API/Plugins/ModelContextProtocol/IModelContextProtocolTool
Description
Returns the JSON Schema definition which the input parameters to this tool must adhere to. Per the MCP specification, inputSchema is required and must be a JSON Schema object with "type": "object". The default returns {"type": "object"} (accepts any parameters).
| Name | GetInputJsonSchema |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ModelContextProtocol/Source/ModelContextProtocol/Public/IModelContextProtocolTool.h |
| Include Path | #include "IModelContextProtocolTool.h" |
virtual TSharedPtr < FJsonObject > GetInputJsonSchema() const
A valid JSON Schema definition.
See Also
-
FJsonSchemaGenerator::UStructToJsonSchemaObject