Skip to main content
Glama

bittensor_code

Generate code using Bittensor's AI models to automate programming tasks and accelerate development workflows through the Swarmrails MCP server.

Instructions

Advanced code generation via Bittensor subnet 11. Cost: $0.01 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesCode generation request

Implementation Reference

  • Handler logic for the bittensor_code tool in the CallToolRequest handler.
    case "bittensor_code":
      result = await callGateway({ route: "bittensor-code", prompt: a.prompt });
      break;
  • src/index.ts:135-145 (registration)
    Definition/Registration of the bittensor_code tool in the TOOLS array.
      name: "bittensor_code",
      description:
        "Advanced code generation via Bittensor subnet 11. Cost: $0.01 per call.",
      inputSchema: {
        type: "object",
        properties: {
          prompt: { type: "string", description: "Code generation request" },
        },
        required: ["prompt"],
      },
    },

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/wizerai1111/swarmrails-mcp'

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