universal-mcp-applications 0.1.13__py3-none-any.whl → 0.1.14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of universal-mcp-applications might be problematic. Click here for more details.

Files changed (54) hide show
  1. universal_mcp/applications/aws_s3/app.py +71 -71
  2. universal_mcp/applications/calendly/app.py +199 -199
  3. universal_mcp/applications/canva/app.py +189 -189
  4. universal_mcp/applications/domain_checker/app.py +31 -24
  5. universal_mcp/applications/e2b/app.py +6 -7
  6. universal_mcp/applications/elevenlabs/app.py +24 -20
  7. universal_mcp/applications/exa/app.py +25 -20
  8. universal_mcp/applications/falai/app.py +44 -41
  9. universal_mcp/applications/file_system/app.py +20 -12
  10. universal_mcp/applications/firecrawl/app.py +46 -47
  11. universal_mcp/applications/fireflies/app.py +79 -79
  12. universal_mcp/applications/fpl/app.py +83 -74
  13. universal_mcp/applications/github/README.md +0 -1028
  14. universal_mcp/applications/github/app.py +55 -50227
  15. universal_mcp/applications/google_calendar/app.py +63 -65
  16. universal_mcp/applications/google_docs/app.py +78 -78
  17. universal_mcp/applications/google_drive/app.py +361 -440
  18. universal_mcp/applications/google_gemini/app.py +34 -17
  19. universal_mcp/applications/google_mail/app.py +117 -117
  20. universal_mcp/applications/google_searchconsole/app.py +41 -47
  21. universal_mcp/applications/google_sheet/app.py +157 -164
  22. universal_mcp/applications/http_tools/app.py +16 -16
  23. universal_mcp/applications/linkedin/app.py +26 -31
  24. universal_mcp/applications/ms_teams/app.py +190 -190
  25. universal_mcp/applications/openai/app.py +55 -56
  26. universal_mcp/applications/outlook/app.py +57 -57
  27. universal_mcp/applications/perplexity/app.py +17 -17
  28. universal_mcp/applications/reddit/app.py +225 -4053
  29. universal_mcp/applications/replicate/app.py +40 -42
  30. universal_mcp/applications/resend/app.py +157 -154
  31. universal_mcp/applications/scraper/app.py +24 -24
  32. universal_mcp/applications/serpapi/app.py +18 -20
  33. universal_mcp/applications/sharepoint/app.py +46 -36
  34. universal_mcp/applications/slack/app.py +66 -66
  35. universal_mcp/applications/tavily/app.py +7 -7
  36. universal_mcp/applications/twitter/api_segments/compliance_api.py +17 -20
  37. universal_mcp/applications/twitter/api_segments/dm_conversations_api.py +35 -40
  38. universal_mcp/applications/twitter/api_segments/dm_events_api.py +18 -21
  39. universal_mcp/applications/twitter/api_segments/likes_api.py +19 -22
  40. universal_mcp/applications/twitter/api_segments/lists_api.py +59 -68
  41. universal_mcp/applications/twitter/api_segments/spaces_api.py +36 -42
  42. universal_mcp/applications/twitter/api_segments/trends_api.py +7 -8
  43. universal_mcp/applications/twitter/api_segments/tweets_api.py +159 -185
  44. universal_mcp/applications/twitter/api_segments/usage_api.py +5 -6
  45. universal_mcp/applications/twitter/api_segments/users_api.py +230 -264
  46. universal_mcp/applications/unipile/app.py +99 -105
  47. universal_mcp/applications/whatsapp/app.py +86 -82
  48. universal_mcp/applications/whatsapp_business/app.py +147 -147
  49. universal_mcp/applications/youtube/app.py +290 -290
  50. universal_mcp/applications/zenquotes/app.py +6 -6
  51. {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/METADATA +1 -1
  52. {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/RECORD +54 -54
  53. {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/WHEEL +0 -0
  54. {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/licenses/LICENSE +0 -0
@@ -9,7 +9,7 @@ class PerplexityApp(APIApplication):
9
9
  super().__init__(name="perplexity", integration=integration)
10
10
  self.base_url = "https://api.perplexity.ai"
11
11
 
12
- def chat(
12
+ def answer_with_search(
13
13
  self,
14
14
  query: str,
15
15
  model: Literal[
@@ -19,28 +19,28 @@ class PerplexityApp(APIApplication):
19
19
  "sonar-reasoning",
20
20
  "sonar-reasoning-pro",
21
21
  "sonar-deep-research",
22
- ] = "sonar",
22
+ ] = "sonar-pro",
23
23
  temperature: float = 1,
24
- system_prompt: str = "Be precise and concise.",
24
+ system_prompt: str = "You are a helpful AI assistant that answers questions using real-time information from the web.",
25
25
  ) -> dict[str, Any] | str:
26
26
  """
27
- Initiates a chat completion request to generate AI responses using various models with customizable parameters.
28
-
27
+ Queries the Perplexity Chat Completions API for a web-search-grounded answer. It sends the user's prompt and model parameters to the `/chat/completions` endpoint, then parses the response to return the synthesized content and a list of supporting source citations, ideal for real-time information retrieval.
28
+
29
29
  Args:
30
- query: The input text/prompt to send to the chat model
31
- model: The model to use for chat completion. Options include 'r1-1776', 'sonar', 'sonar-pro', 'sonar-reasoning', 'sonar-reasoning-pro', 'sonar-deep-research'. Defaults to 'sonar'
32
- temperature: Controls randomness in the model's output. Higher values make output more random, lower values more deterministic. Defaults to 1
33
- system_prompt: Initial system message to guide the model's behavior. Defaults to 'Be precise and concise.'
34
-
30
+ query: The search query or question to ask. For example: "What are the latest developments in AI regulation?"
31
+ model: The Perplexity model to use.
32
+ temperature: Controls randomness in the model's output. Higher values make the output more random, lower values make it more deterministic. Defaults to 1.
33
+ system_prompt: The initial system message to guide the model's behavior.
34
+
35
35
  Returns:
36
- A dictionary containing the generated content and citations, with keys 'content' (str) and 'citations' (list), or a string in some cases
37
-
36
+ A dictionary containing the generated 'content' (str) and a list of 'citations' (list) from the web search.
37
+
38
38
  Raises:
39
- AuthenticationError: Raised when API authentication fails due to missing or invalid credentials
40
- HTTPError: Raised when the API request fails or returns an error status
41
-
39
+ AuthenticationError: Raised when API authentication fails due to missing or invalid credentials.
40
+ HTTPError: Raised when the API request fails or returns an error status.
41
+
42
42
  Tags:
43
- chat, generate, ai, completion, important
43
+ search, web, research, citations, current events, important
44
44
  """
45
45
  endpoint = f"{self.base_url}/chat/completions"
46
46
  messages = []
@@ -61,5 +61,5 @@ class PerplexityApp(APIApplication):
61
61
 
62
62
  def list_tools(self):
63
63
  return [
64
- self.chat,
64
+ self.answer_with_search,
65
65
  ]