chore: auto-commit (2 archivos)
- backend/mcp.go - backend/tools.go Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -254,6 +254,31 @@ func mcpToolDefs() []infra.MCPToolDef {
|
||||
"required": []string{"id"},
|
||||
}),
|
||||
},
|
||||
{
|
||||
Name: "add_comment",
|
||||
Description: "Anade un comentario (card_message) a una tarjeta. Requiere card_id, body y autor (author_id o author_username). Devuelve el CardMessage creado.",
|
||||
InputSchema: rawSchema(map[string]any{
|
||||
"type": "object",
|
||||
"properties": map[string]any{
|
||||
"card_id": map[string]any{"type": "string"},
|
||||
"body": map[string]any{"type": "string"},
|
||||
"author_id": map[string]any{"type": "string"},
|
||||
"author_username": map[string]any{"type": "string"},
|
||||
},
|
||||
"required": []string{"card_id", "body"},
|
||||
}),
|
||||
},
|
||||
{
|
||||
Name: "list_comments",
|
||||
Description: "Lista los comentarios (card_messages) de una tarjeta en orden cronologico.",
|
||||
InputSchema: rawSchema(map[string]any{
|
||||
"type": "object",
|
||||
"properties": map[string]any{
|
||||
"card_id": map[string]any{"type": "string"},
|
||||
},
|
||||
"required": []string{"card_id"},
|
||||
}),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user