getToolsActivationWithHttpInfo method
Reports which tools are switched on for the caller's org and project.
Reports which tools are switched on for the caller's org and project. Activation is what makes a tool dispatchable and what makes it visible to an agent, so this is the set the MCP tool list is drawn from — every other tool in the registry is discoverable but refused at call time.
Note: This method returns the HTTP Response.
Implementation
Future<Response> getToolsActivationWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/v1/tools/activation';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}