@@ -47,7 +47,6 @@ type AccountInfo struct {
4747 // This interface breaks the import cycle between mcp and core packages.
4848 type Orchestrator interface {
4949 ListMyses() []MysisInfo
50- GetMysis(id string) (MysisInfo, error)
5150 MysisCount() int
5251 MaxMyses() int
5352 SendMessageAsync(mysisID, message string) error
@@ -86,55 +85,6 @@ func RegisterOrchestratorTools(proxy *Proxy, orchestrator Orchestrator) {
8685 },
8786 )
8887
89- // Get mysis info tool
90- proxy.RegisterTool(
91- Tool{
92- Name: "zoea_get_mysis",
93- Description: "Get detailed information about a specific mysis",
94- InputSchema: json.RawMessage(`{
95- "type": "object",
96- "properties": {
97- "mysis_id": {"type": "string", "description": "The ID of the mysis"}
98- },
99- "required": ["mysis_id"]
100- }`),
101- },
102- func(ctx context.Context, args json.RawMessage) (*ToolResult, error) {
103- var params struct {
104- MysisID string `json:"mysis_id"`
105- }
106- if err := json.Unmarshal(args, ¶ms); err != nil {
107- return &ToolResult{
108- Content: []ContentBlock{{Type: "text", Text: fmt.Sprintf("invalid arguments: %v", err)}},
109- IsError: true,
110- }, nil
111- }
112-
113- mysis, err := orchestrator.GetMysis(params.MysisID)
114- if err != nil {
115- return &ToolResult{
116- Content: []ContentBlock{{Type: "text", Text: fmt.Sprintf("mysis not found: %s", params.MysisID)}},
117- IsError: true,
118- }, nil
119- }
120-
121- info := map[string]interface{}{
122- "id": mysis.ID,
123- "name": mysis.Name,
124- "state": mysis.State,
125- "provider": mysis.Provider,
126- }
127- if mysis.LastError != nil {
128- info["last_error"] = mysis.LastError.Error()
129- }
130-
131- data, _ := json.MarshalIndent(info, "", " ")
132- return &ToolResult{
133- Content: []ContentBlock{{Type: "text", Text: string(data)}},
134- }, nil
135- },
136- )
137-
13888 // Swarm status tool
13989 proxy.RegisterTool(
14090 Tool{