getToolsSkillsWithHttpInfo method
Lists the skills the caller's org can reach — the brand's embedded catalogue plus the org's own authored ones — with each one's activation flag.
Lists the skills the caller's org can reach — the brand's embedded catalogue plus the org's own authored ones — with each one's activation flag. A skill is discovery and activation metadata attached to an agent, never called directly, so every entry here is non-dispatchable. It is GET /v1/tools narrowed to one source, not a second store: a name a caller sees here is the same entry, with the same activation state, that discovery reports.
Note: This method returns the HTTP Response.
Parameters:
- String activated: Activated keeps only the tools activated for the caller's org and project, and only when it is exactly the string "true".
Implementation
Future<Response> getToolsSkillsWithHttpInfo({ String? activated, }) async {
// ignore: prefer_const_declarations
final path = r'/v1/tools/skills';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (activated != null) {
queryParams.addAll(_queryParams('', 'activated', activated));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}