delete_model
Remove trained models from cloud storage to manage resources and maintain control over your AI model inventory.
Instructions
Delete a trained model from cloud storage.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | Model ID to delete |
Implementation Reference
- src/client.ts:96-98 (handler)The implementation of the deleteUserModel method, which makes the actual API call.
async deleteUserModel(modelId: string): Promise<any> { return this.request("DELETE", `/api/v1/user_models/${modelId}`); } - src/mcp.ts:271-280 (registration)The tool registration for 'delete_model'.
name: "delete_model", description: "Delete a trained model from cloud storage.", inputSchema: { type: "object" as const, properties: { model_id: { type: "string", description: "Model ID to delete" }, }, required: ["model_id"], }, }, - src/mcp.ts:460-462 (handler)The switch case handler in the MCP server that routes to the deleteUserModel method.
case "delete_model": result = await client.deleteUserModel(args!.model_id as string); break;