Skip to main content

McpToolApi

valkyrai-api

All URIs are relative to http://localhost:8080/v1

MethodHTTP requestDescription
deleteMcpToolDELETE McpToolApiDelete a McpTool.

deleteMcpTool

Void
deleteMcpTool(id)

Delete a McpTool.

Deletes a specific McpTool.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpToolApi;


McpToolApi apiInstance = new McpToolApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the McpTool.

try {
Void result = apiInstance.deleteMcpTool(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpToolApi#deleteMcpTool");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the McpTool.

Return type

Void

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

getMcpTool

McpTool
getMcpTool(id)

Retrieve a single McpTool

Retrieves a single McpTool for a specific uid.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpToolApi;


McpToolApi apiInstance = new McpToolApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the McpTool.

try {
McpTool result = apiInstance.getMcpTool(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpToolApi#getMcpTool");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the McpTool.

Return type

McpTool

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getMcpToolList

McpTool
getMcpToolList()

Retrieve a list of McpTools

Retrieves a list of McpTools.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpToolApi;


McpToolApi apiInstance = new McpToolApi();

try {
McpTool result = apiInstance.getMcpToolList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpToolApi#getMcpToolList");
e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

McpTool

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

postMcpTool

McpTool
postMcpTool(mcpTool)

Create a new McpTool

Creates a new McpTool.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpToolApi;


McpToolApi apiInstance = new McpToolApi();
McpTool mcpTool = new McpTool(); // McpTool | McpTool details.

try {
McpTool result = apiInstance.postMcpTool(mcpTool);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpToolApi#postMcpTool");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
mcpToolMcpToolMcpTool details.

Return type

McpTool

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

updateMcpTool

McpTool
updateMcpTool(idmcpTool)

Update an existing McpTool

Updates an existing McpTool.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpToolApi;


McpToolApi apiInstance = new McpToolApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the McpTool.
McpTool mcpTool = new McpTool(); // McpTool | Updated McpTool details.

try {
McpTool result = apiInstance.updateMcpTool(idmcpTool);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpToolApi#updateMcpTool");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the McpTool.
mcpToolMcpToolUpdated McpTool details.

Return type

McpTool

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-04-09T20:27:13.881184-07:00[America/Los_Angeles]