Skip to main content
Glama

terminate_experiment

Stop and permanently delete a CloudLab experiment, removing all associated data. Use this tool to end experiments and free resources.

Instructions

Terminate an experiment (WARNING: destroys all data)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
experiment_idYesExperiment UUID (from list_experiments)

Implementation Reference

  • Handler for the 'terminate_experiment' tool. Extracts experiment_id from arguments, sends a DELETE request to the CloudLab API endpoint `/experiments/${experiment_id}`, and returns the result as text content.
    case "terminate_experiment": { const { experiment_id } = args as { experiment_id: string }; const result = await cloudlabRequest( `/experiments/${experiment_id}`, "DELETE" ); return { content: [ { type: "text", text: `Experiment termination initiated: ${JSON.stringify(result, null, 2)}`, }, ], }; }
  • Schema definition and registration of the 'terminate_experiment' tool in the ListTools response, specifying input schema requiring 'experiment_id'.
    { name: "terminate_experiment", description: "Terminate an experiment (WARNING: destroys all data)", inputSchema: { type: "object", properties: { experiment_id: { type: "string", description: "Experiment UUID (from list_experiments)", }, }, required: ["experiment_id"], }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ArdaGurcan/cloudlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server