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
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Code generation request |
Implementation Reference
- src/index.ts:279-281 (handler)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"], }, },