master
h 14 lines 503 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #ifndef NETDATA_MCP_TOOLS_EXECUTE_FUNCTION_H
4 #define NETDATA_MCP_TOOLS_EXECUTE_FUNCTION_H
5
6 #include "mcp-tools.h"
7
8 // Schema definition function - provides JSON schema for this tool
9 void mcp_tool_execute_function_schema(BUFFER *buffer);
10
11 // Execution function - performs the function execution
12 MCP_RETURN_CODE mcp_tool_execute_function_execute(MCP_CLIENT *mcpc, struct json_object *params, MCP_REQUEST_ID id);
13
14 #endif // NETDATA_MCP_TOOLS_EXECUTE_FUNCTION_H