MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / process_function_tool_call

Function process_function_tool_call

runners/helpers/ValidateRequest.cpp:952–956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

950}
951
952static td::Status process_function_tool_call(Ctx &ctx) {
953 TRY_STATUS(ctx.process_obj_field("id", true, process_string));
954 TRY_STATUS(ctx.process_obj_field("function", true, process_function_call));
955 return td::Status::OK();
956}
957
958static td::Status process_custom_tool_call(Ctx &ctx) {
959 TRY_STATUS(ctx.process_obj_field("id", true, process_string));

Callers 1

process_tool_callFunction · 0.85

Calls 1

process_obj_fieldMethod · 0.80

Tested by

no test coverage detected