miyabi__handle_development_task
Process development tasks by creating issues and executing agents to handle coding, debugging, and project management workflows.
Instructions
開発タスクを処理します(Issue作成→Agent実行)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | No | プロジェクトのパス(オプション) | |
| prompt | Yes | 開発タスクの内容 |
Implementation Reference
- src/handlers.js:201-218 (handler)The core handler implementation for the 'miyabi__handle_development_task' tool. It processes development tasks by returning a structured response outlining simulated steps: Issue creation, Agent execution, and PR creation.case "miyabi__handle_development_task": { return { content: [{ type: "text", text: JSON.stringify({ status: "success", message: "開発タスクを処理しました", steps: [ "1. Issueを自動作成", "2. Miyabi Agentを実行", "3. PRを作成" ], prompt: args.prompt, projectPath: args.projectPath || "デフォルトプロジェクト" }, null, 2) }] }; }
- src/handlers.js:75-92 (schema)The input schema definition for the tool, specifying required 'prompt' and optional 'projectPath' parameters.{ name: "miyabi__handle_development_task", description: "開発タスクを処理します(Issue作成→Agent実行)", inputSchema: { type: "object", properties: { prompt: { type: "string", description: "開発タスクの内容" }, projectPath: { type: "string", description: "プロジェクトのパス(オプション)" } }, required: ["prompt"] } },
- src/server.js:30-33 (registration)MCP server registration for listing tools, which calls listToolsHandler() providing the schema for 'miyabi__handle_development_task'.server.setRequestHandler(ListToolsRequestSchema, async () => { const tools = listToolsHandler(); return { tools }; });
- src/server.js:36-54 (registration)MCP server registration for calling tools, which dispatches to callToolHandler implementing 'miyabi__handle_development_task' based on name.server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; try { const result = callToolHandler(name, args || {}); return result; } catch (error) { return { content: [{ type: "text", text: JSON.stringify({ error: error.message, toolName: name }, null, 2) }], isError: true }; } });