| 40 | } |
| 41 | |
| 42 | QJsonObject 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 | |
| 57 | QFuture<LLMQore::ToolResult> SkillTool::executeAsync(const QJsonObject &input) |
| 58 | { |
nothing calls this directly
no outgoing calls
no test coverage detected