Skip to main content
Glama

reboot_all_nodes

Restart all compute nodes in a CloudLab experiment to resolve issues or apply configuration changes. Specify the experiment ID to initiate the reboot process.

Instructions

Reboot all nodes in an experiment

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
experiment_idYesExperiment UUID (from list_experiments)

Implementation Reference

  • The handler function for the 'reboot_all_nodes' tool. It extracts the experiment_id from arguments, makes a POST request to the CloudLab API endpoint `/experiments/{experiment_id}/nodes/reboot`, and returns the result in a formatted text response.
    case "reboot_all_nodes": { const { experiment_id } = args as { experiment_id: string }; const result = await cloudlabRequest( `/experiments/${experiment_id}/nodes/reboot`, "POST" ); return { content: [ { type: "text", text: `Reboot initiated for all nodes: ${JSON.stringify(result, null, 2)}`, }, ], }; }
  • The input schema for the 'reboot_all_nodes' tool, defining an object with a required 'experiment_id' string property.
    inputSchema: { type: "object", properties: { experiment_id: { type: "string", description: "Experiment UUID (from list_experiments)", }, }, required: ["experiment_id"], },
  • src/index.ts:171-184 (registration)
    The registration of the 'reboot_all_nodes' tool in the ListToolsRequestSchema handler, including name, description, and input schema.
    { name: "reboot_all_nodes", description: "Reboot all nodes in an experiment", 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