MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / parametersSchema

Method parametersSchema

tools/SkillTool.cpp:42–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42QJsonObject SkillTool::parametersSchema() const
43{
44 QJsonObject properties;
45 properties["name"] = QJsonObject{
46 {"type", "string"},
47 {"description",
48 "Exact name of the skill to load, as shown in the Available Skills catalog."}};
49
50 QJsonObject definition;
51 definition["type"] = "object";
52 definition["properties"] = properties;
53 definition["required"] = QJsonArray{"name"};
54 return definition;
55}
56
57QFuture<LLMQore::ToolResult> SkillTool::executeAsync(const QJsonObject &input)
58{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected