universal-mcp-applications 0.1.16__py3-none-any.whl → 0.1.18__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.
- universal_mcp/applications/falai/app.py +6 -6
- universal_mcp/applications/firecrawl/app.py +10 -10
- universal_mcp/applications/github/app.py +9 -9
- universal_mcp/applications/google_calendar/app.py +10 -10
- universal_mcp/applications/google_docs/app.py +12 -12
- universal_mcp/applications/google_drive/app.py +38 -38
- universal_mcp/applications/google_gemini/app.py +13 -12
- universal_mcp/applications/google_mail/app.py +19 -19
- universal_mcp/applications/google_searchconsole/app.py +8 -8
- universal_mcp/applications/google_sheet/app.py +22 -22
- universal_mcp/applications/linkedin/app.py +4 -4
- universal_mcp/applications/ms_teams/app.py +28 -28
- universal_mcp/applications/outlook/app.py +9 -9
- universal_mcp/applications/reddit/app.py +90 -89
- universal_mcp/applications/scraper/app.py +31 -31
- universal_mcp/applications/sharepoint/app.py +7 -7
- universal_mcp/applications/unipile/app.py +14 -14
- {universal_mcp_applications-0.1.16.dist-info → universal_mcp_applications-0.1.18.dist-info}/METADATA +1 -1
- {universal_mcp_applications-0.1.16.dist-info → universal_mcp_applications-0.1.18.dist-info}/RECORD +21 -21
- {universal_mcp_applications-0.1.16.dist-info → universal_mcp_applications-0.1.18.dist-info}/WHEEL +0 -0
- {universal_mcp_applications-0.1.16.dist-info → universal_mcp_applications-0.1.18.dist-info}/licenses/LICENSE +0 -0
|
@@ -16,7 +16,7 @@ class GoogleSearchconsoleApp(APIApplication):
|
|
|
16
16
|
|
|
17
17
|
def delete_sitemap(self, siteUrl: str, feedpath: str) -> None:
|
|
18
18
|
"""
|
|
19
|
-
Deletes a sitemap from a
|
|
19
|
+
Deletes a specific sitemap from a Google Search Console property using its URL (`feedpath`). This function is distinct from `delete_site`, which removes the entire site property, not just a single sitemap file. It issues an HTTP DELETE request to the specified API endpoint.
|
|
20
20
|
|
|
21
21
|
Args:
|
|
22
22
|
siteUrl (str): The site's URL, including protocol (e.g. 'http://www.example.com/').
|
|
@@ -38,7 +38,7 @@ class GoogleSearchconsoleApp(APIApplication):
|
|
|
38
38
|
|
|
39
39
|
def get_sitemap(self, siteUrl: str, feedpath: str) -> dict[str, Any]:
|
|
40
40
|
"""
|
|
41
|
-
Retrieves detailed information for a single
|
|
41
|
+
Retrieves detailed information for a single sitemap from a specified Google Search Console property. Unlike `list_sitemaps` which fetches all sitemaps, this function targets one sitemap by its URL (`feedpath`) to return its resource details, including status and last processed date.
|
|
42
42
|
|
|
43
43
|
Args:
|
|
44
44
|
siteUrl (str): The site's URL, including protocol (e.g. 'http://www.example.com/').
|
|
@@ -62,7 +62,7 @@ class GoogleSearchconsoleApp(APIApplication):
|
|
|
62
62
|
self, siteUrl: str, sitemapIndex: str | None = None
|
|
63
63
|
) -> dict[str, Any]:
|
|
64
64
|
"""
|
|
65
|
-
Retrieves a list of sitemaps
|
|
65
|
+
Retrieves a list of sitemaps for a specific site property. It can optionally list sitemaps contained within a specified sitemap index file. This function contrasts with `get_sitemap`, which fetches details for only a single, specified sitemap rather than a collection.
|
|
66
66
|
|
|
67
67
|
Args:
|
|
68
68
|
siteUrl (str): The site's URL, including protocol (e.g. 'http://www.example.com/').
|
|
@@ -88,7 +88,7 @@ class GoogleSearchconsoleApp(APIApplication):
|
|
|
88
88
|
|
|
89
89
|
def submit_sitemap(self, siteUrl: str, feedpath: str) -> None:
|
|
90
90
|
"""
|
|
91
|
-
Submits a sitemap to a specified Google Search Console
|
|
91
|
+
Submits a sitemap to a specified Google Search Console property using its URL (feedpath). It notifies Google to crawl the sitemap's location, complementing other sitemap management functions (`list_sitemaps`, `delete_sitemap`) by adding or updating a sitemap's registration for a given site.
|
|
92
92
|
|
|
93
93
|
Args:
|
|
94
94
|
siteUrl (str): The site's URL, including protocol (e.g. 'http://www.example.com/').
|
|
@@ -112,7 +112,7 @@ class GoogleSearchconsoleApp(APIApplication):
|
|
|
112
112
|
|
|
113
113
|
def add_site(self, siteUrl: str) -> dict[str, Any]:
|
|
114
114
|
"""
|
|
115
|
-
Adds a site to the user's Google Search Console account
|
|
115
|
+
Adds a site property to the user's Google Search Console account using its URL. This action requires subsequent ownership verification. Unlike `list_sites`, which only retrieves existing properties, this function creates a new entry and returns the corresponding site resource upon successful creation.
|
|
116
116
|
|
|
117
117
|
Args:
|
|
118
118
|
siteUrl (str): The URL of the site to add. Example: 'http://www.example.com/'.
|
|
@@ -134,7 +134,7 @@ class GoogleSearchconsoleApp(APIApplication):
|
|
|
134
134
|
|
|
135
135
|
def delete_site(self, siteUrl: str) -> None:
|
|
136
136
|
"""
|
|
137
|
-
Removes a website property from the user's Google Search Console account using its URL.
|
|
137
|
+
Removes a website property from the user's Google Search Console account using its URL. Unlike `delete_sitemap`, which only targets a sitemap file, this function deletes the entire site property, revoking management access and removing it from the user's list of managed sites.
|
|
138
138
|
|
|
139
139
|
Args:
|
|
140
140
|
siteUrl (str): The URL of the site to delete. Example: 'http://www.example.com/'.
|
|
@@ -152,7 +152,7 @@ class GoogleSearchconsoleApp(APIApplication):
|
|
|
152
152
|
|
|
153
153
|
def get_site(self, siteUrl: str) -> dict[str, Any]:
|
|
154
154
|
"""
|
|
155
|
-
Retrieves
|
|
155
|
+
Retrieves detailed information for a specific site property from Google Search Console using its URL. Unlike `list_sites`, which fetches all properties associated with the user's account, this function targets and returns the resource for a single, known site.
|
|
156
156
|
|
|
157
157
|
Args:
|
|
158
158
|
siteUrl (str): The site's URL, including protocol (e.g. 'http://www.example.com/').
|
|
@@ -171,7 +171,7 @@ class GoogleSearchconsoleApp(APIApplication):
|
|
|
171
171
|
|
|
172
172
|
def list_sites(self) -> dict[str, Any]:
|
|
173
173
|
"""
|
|
174
|
-
Retrieves
|
|
174
|
+
Retrieves all websites and domain properties the authenticated user manages in Google Search Console. While `get_site` fetches a single, specific property, this function returns a comprehensive list of all sites linked to the user's account, providing a complete overview of managed properties.
|
|
175
175
|
|
|
176
176
|
Returns:
|
|
177
177
|
Dict[str, Any]: List of site resources.
|
|
@@ -21,7 +21,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
21
21
|
|
|
22
22
|
def create_spreadsheet(self, title: str) -> dict[str, Any]:
|
|
23
23
|
"""
|
|
24
|
-
Creates a new, blank Google Spreadsheet file with a specified title. This function generates a completely new document, unlike `add_sheet` which adds a tab to an existing spreadsheet. It returns the API response containing the new spreadsheet's metadata.
|
|
24
|
+
Creates a new, blank Google Spreadsheet file with a specified title. This function generates a completely new document, unlike `add_sheet` which adds a worksheet (tab) to an existing spreadsheet. It returns the API response containing the new spreadsheet's metadata.
|
|
25
25
|
|
|
26
26
|
Args:
|
|
27
27
|
title: String representing the desired title for the new spreadsheet
|
|
@@ -43,7 +43,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
43
43
|
|
|
44
44
|
def get_spreadsheet_metadata(self, spreadsheet_id: str) -> dict[str, Any]:
|
|
45
45
|
"""
|
|
46
|
-
Retrieves a spreadsheet's metadata and structural properties, such as sheet names, IDs, and named ranges, using its unique ID. This function intentionally excludes cell data, distinguishing it from `get_values` which fetches the actual content within
|
|
46
|
+
Retrieves a spreadsheet's metadata and structural properties, such as sheet names, IDs, and named ranges, using its unique ID. This function intentionally excludes cell data, distinguishing it from `get_values` which fetches the actual content within cells.
|
|
47
47
|
|
|
48
48
|
Args:
|
|
49
49
|
spreadsheet_id: The unique identifier of the Google Spreadsheet to retrieve (found in the spreadsheet's URL)
|
|
@@ -72,7 +72,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
72
72
|
dateTimeRenderOption: str | None = None,
|
|
73
73
|
) -> dict[str, Any]:
|
|
74
74
|
"""
|
|
75
|
-
Retrieves cell values from a single, specified A1 notation range
|
|
75
|
+
Retrieves cell values from a single, specified A1 notation range. Unlike `batch_get_values_by_range` which fetches multiple ranges, this function is for a singular query and provides options to control the data's output format (e.g., rows vs. columns, formatted vs. raw values).
|
|
76
76
|
|
|
77
77
|
Args:
|
|
78
78
|
spreadsheetId: The unique identifier of the Google Spreadsheet to retrieve values from
|
|
@@ -108,7 +108,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
108
108
|
self, spreadsheet_id: str, ranges: list[str] | None = None
|
|
109
109
|
) -> dict[str, Any]:
|
|
110
110
|
"""
|
|
111
|
-
Efficiently retrieves values from multiple
|
|
111
|
+
Efficiently retrieves values from multiple predefined A1 notation ranges in a single API request. Unlike `get_values`, which fetches a single range, or `batch_get_values_by_data_filter`, which uses dynamic filtering criteria, this function operates on a simple list of range strings for bulk data retrieval.
|
|
112
112
|
|
|
113
113
|
Args:
|
|
114
114
|
spreadsheet_id: The unique identifier of the Google Spreadsheet to retrieve values from
|
|
@@ -144,7 +144,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
144
144
|
response_ranges: list[str] | None = None,
|
|
145
145
|
) -> dict[str, Any]:
|
|
146
146
|
"""
|
|
147
|
-
Inserts empty rows or columns at a
|
|
147
|
+
Inserts a specified number of empty rows or columns at a given index, shifting existing content. Distinct from `append_dimensions`, which only adds to the end, this function creates space within the sheet's data grid, preserving surrounding data and formatting.
|
|
148
148
|
|
|
149
149
|
This function inserts empty rows or columns at a specified location, shifting existing content.
|
|
150
150
|
Use this when you need to add rows/columns in the middle of your data.
|
|
@@ -223,7 +223,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
223
223
|
length: int,
|
|
224
224
|
) -> dict[str, Any]:
|
|
225
225
|
"""
|
|
226
|
-
Adds a specified number of empty rows or columns to the end of a designated sheet. Unlike `insert_dimensions`, which adds
|
|
226
|
+
Adds a specified number of empty rows or columns to the end of a designated sheet. Unlike `insert_dimensions`, which adds space at a specific index, this function exclusively extends the sheet's boundaries at the bottom or to the right without affecting existing content.
|
|
227
227
|
|
|
228
228
|
This function adds empty rows or columns to the end of the sheet without affecting existing content.
|
|
229
229
|
Use this when you need to extend the sheet with additional space at the bottom or right.
|
|
@@ -282,7 +282,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
282
282
|
response_ranges: list[str] | None = None,
|
|
283
283
|
) -> dict[str, Any]:
|
|
284
284
|
"""
|
|
285
|
-
Deletes a specified range of rows or columns
|
|
285
|
+
Deletes a specified range of rows or columns, permanently removing them and shifting subsequent cells. This alters the sheet's structure, unlike `clear_values` which only removes cell content. It is the direct counterpart to `insert_dimensions`, which adds space within the data grid.
|
|
286
286
|
|
|
287
287
|
Args:
|
|
288
288
|
spreadsheet_id: The ID of the spreadsheet. Example: "abc123xyz789"
|
|
@@ -371,7 +371,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
371
371
|
responseIncludeGridData: bool = False,
|
|
372
372
|
) -> dict[str, Any]:
|
|
373
373
|
"""
|
|
374
|
-
Adds a new worksheet (tab) to an existing Google Spreadsheet.
|
|
374
|
+
Adds a new worksheet (tab) to an existing Google Spreadsheet. It allows extensive customization of the new sheet's properties, such as its title, position, and dimensions. This is distinct from `create_spreadsheet`, which generates a completely new spreadsheet file instead of modifying an existing one.
|
|
375
375
|
|
|
376
376
|
Args:
|
|
377
377
|
spreadsheetId: The ID of the spreadsheet to add the sheet to. This is the long string of characters in the URL of your Google Sheet. Example: "abc123xyz789"
|
|
@@ -638,7 +638,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
638
638
|
pie_hole: float | None = None,
|
|
639
639
|
) -> dict[str, Any]:
|
|
640
640
|
"""
|
|
641
|
-
Adds a pie or donut chart to a Google Spreadsheet from a specified data range. Unlike the more general `add_basic_chart`, this
|
|
641
|
+
Adds a pie or donut chart to a Google Spreadsheet from a specified data range. Unlike the more general `add_basic_chart`, this is specialized for visualizing data as proportions of a whole and supports pie-specific options like creating a donut chart via the `pie_hole` parameter.
|
|
642
642
|
|
|
643
643
|
This function creates a pie chart from the specified data range and places it in a new sheet or existing sheet.
|
|
644
644
|
Use this when you need to visualize data as proportions of a whole.
|
|
@@ -997,7 +997,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
997
997
|
|
|
998
998
|
def clear_values(self, spreadsheet_id: str, range: str) -> dict[str, Any]:
|
|
999
999
|
"""
|
|
1000
|
-
Clears data from a single, specified cell range
|
|
1000
|
+
Clears data from a single, specified cell range while preserving all formatting. Unlike `delete_dimensions`, it only removes content, not the cells themselves. For clearing multiple ranges simultaneously, use the `batch_clear_values` function.
|
|
1001
1001
|
|
|
1002
1002
|
Args:
|
|
1003
1003
|
spreadsheet_id: The unique identifier of the Google Spreadsheet to modify
|
|
@@ -1025,7 +1025,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
1025
1025
|
value_input_option: str = "RAW",
|
|
1026
1026
|
) -> dict[str, Any]:
|
|
1027
1027
|
"""
|
|
1028
|
-
Overwrites cell values within a specific A1 notation range
|
|
1028
|
+
Overwrites cell values within a specific A1 notation range using a provided 2D list. This function replaces existing data in a predefined area, distinguishing it from `append_values`, which adds new rows after a table instead of overwriting a specific block of cells.
|
|
1029
1029
|
|
|
1030
1030
|
Args:
|
|
1031
1031
|
spreadsheet_id: The unique identifier of the target Google Spreadsheet
|
|
@@ -1093,7 +1093,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
1093
1093
|
date_time_render_option: str | None = None,
|
|
1094
1094
|
) -> dict[str, Any]:
|
|
1095
1095
|
"""
|
|
1096
|
-
Retrieves values from spreadsheet ranges matching a list of data filters. This method provides dynamic, criteria-based selection using A1 notation or grid coordinates, unlike `
|
|
1096
|
+
Retrieves values from spreadsheet ranges matching a list of data filters. This method provides dynamic, criteria-based selection using A1 notation or grid coordinates, unlike `batch_get_values_by_range` which uses a simple list of range strings. It is ideal for fetching multiple, specific datasets in one request.
|
|
1097
1097
|
|
|
1098
1098
|
Args:
|
|
1099
1099
|
spreadsheet_id: The ID of the spreadsheet to retrieve data from. Example: "1q2w3e4r5t6y7u8i9o0p"
|
|
@@ -1168,7 +1168,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
1168
1168
|
destination_spreadsheet_id: str,
|
|
1169
1169
|
) -> dict[str, Any]:
|
|
1170
1170
|
"""
|
|
1171
|
-
Copies a specific sheet, including all its data and formatting, from a source spreadsheet to a different destination spreadsheet. This action duplicates an entire worksheet into another workbook, returning
|
|
1171
|
+
Copies a specific sheet, including all its data and formatting, from a source spreadsheet to a different destination spreadsheet. This action duplicates an entire worksheet into another workbook, returning properties of the newly created sheet.
|
|
1172
1172
|
|
|
1173
1173
|
|
|
1174
1174
|
Args:
|
|
@@ -1212,7 +1212,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
1212
1212
|
include_values_in_response: bool = False,
|
|
1213
1213
|
) -> dict[str, Any]:
|
|
1214
1214
|
"""
|
|
1215
|
-
Writes a 2D list of values to a sheet, overwriting existing data. Data is written starting from a specified cell, or defaults to cell A1 if no location is provided. This differs from `append_values`, which adds new rows after existing data.
|
|
1215
|
+
Writes a 2D list of values to a sheet, overwriting existing data. Data is written starting from a specified cell, or defaults to cell A1 if no location is provided. This differs from `append_values`, which adds new rows after existing data without replacing content.
|
|
1216
1216
|
|
|
1217
1217
|
Args:
|
|
1218
1218
|
spreadsheet_id: The unique identifier of the Google Sheets spreadsheet to be updated. Example: "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
|
|
@@ -1278,7 +1278,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
1278
1278
|
response_date_time_render_option: str | None = None,
|
|
1279
1279
|
) -> dict[str, Any]:
|
|
1280
1280
|
"""
|
|
1281
|
-
Appends rows of data after a table
|
|
1281
|
+
Appends rows of data after a specified table in a Google Sheet. Distinct from `update_values` which overwrites data, this function adds new rows at the end of the table. It can also insert rows, shifting existing cells down, offering finer control over data addition.
|
|
1282
1282
|
|
|
1283
1283
|
Args:
|
|
1284
1284
|
spreadsheet_id: The ID of the spreadsheet to update. Example: "1q0gLhLdGXYZblahblahblah"
|
|
@@ -1371,7 +1371,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
1371
1371
|
sheet_id: int,
|
|
1372
1372
|
) -> dict[str, Any]:
|
|
1373
1373
|
"""
|
|
1374
|
-
Removes the basic filter from a specified sheet
|
|
1374
|
+
Removes the basic filter from a specified sheet, clearing active sorting and filtering criteria to restore the default data view. As the direct counterpart to `set_basic_filter`, this function removes the entire filter object, not just the cell content.
|
|
1375
1375
|
|
|
1376
1376
|
Args:
|
|
1377
1377
|
spreadsheet_id: The ID of the spreadsheet. Example: "abc123xyz789"
|
|
@@ -1443,7 +1443,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
1443
1443
|
min_confidence: float = 0.5,
|
|
1444
1444
|
) -> dict[str, Any]:
|
|
1445
1445
|
"""
|
|
1446
|
-
|
|
1446
|
+
Heuristically analyzes a spreadsheet to discover and list all table-like data structures, identifying headers and data boundaries. It returns informal data blocks meeting specified size criteria, distinguishing it from functions like `add_table` that manage formally defined tables.
|
|
1447
1447
|
|
|
1448
1448
|
Args:
|
|
1449
1449
|
spreadsheet_id: Google Sheets ID from the URL (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'). Example: "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
|
|
@@ -1474,7 +1474,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
1474
1474
|
raise ValueError("min_confidence must be between 0.0 and 1.0")
|
|
1475
1475
|
|
|
1476
1476
|
# Get spreadsheet structure
|
|
1477
|
-
spreadsheet = self.
|
|
1477
|
+
spreadsheet = self.get_spreadsheet_metadata(spreadsheet_id)
|
|
1478
1478
|
|
|
1479
1479
|
tables = []
|
|
1480
1480
|
|
|
@@ -1514,7 +1514,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
1514
1514
|
sample_size: int = 50,
|
|
1515
1515
|
) -> dict[str, Any]:
|
|
1516
1516
|
"""
|
|
1517
|
-
Infers
|
|
1517
|
+
Infers a specified table's schema by analyzing a data sample. After locating the table by name (a value discovered via `discover_tables`), this function determines the most likely data type and properties for each column, providing a detailed structural breakdown of its content.
|
|
1518
1518
|
|
|
1519
1519
|
Args:
|
|
1520
1520
|
spreadsheet_id: Google Sheets ID from the URL (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms')
|
|
@@ -1542,7 +1542,7 @@ class GoogleSheetApp(APIApplication):
|
|
|
1542
1542
|
raise ValueError("sample_size must be between 1 and 1000")
|
|
1543
1543
|
|
|
1544
1544
|
# Get spreadsheet structure
|
|
1545
|
-
spreadsheet = self.
|
|
1545
|
+
spreadsheet = self.get_spreadsheet_metadata(spreadsheet_id)
|
|
1546
1546
|
|
|
1547
1547
|
# Find the target table
|
|
1548
1548
|
target_table = None
|
|
@@ -1681,11 +1681,11 @@ class GoogleSheetApp(APIApplication):
|
|
|
1681
1681
|
mergeCells: bool = False,
|
|
1682
1682
|
) -> dict[str, Any]:
|
|
1683
1683
|
"""
|
|
1684
|
-
Applies comprehensive formatting to a specified cell range in a worksheet. It modifies visual properties like text style, color, alignment, borders, and can merge cells, without altering the underlying cell values
|
|
1684
|
+
Applies comprehensive formatting to a specified cell range in a worksheet. It modifies visual properties like text style, color, alignment, borders, and can merge cells, without altering the underlying cell values, distinguishing it from data-modification functions like `update_values`.
|
|
1685
1685
|
|
|
1686
1686
|
Args:
|
|
1687
1687
|
spreadsheetId: Identifier of the Google Sheets spreadsheet. Example: "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
|
|
1688
|
-
worksheetId: ID (sheetId) of the worksheet. Use `
|
|
1688
|
+
worksheetId: ID (sheetId) of the worksheet. Use `get_spreadsheet_metadata` to find this ID. Example: 123456789
|
|
1689
1689
|
startRowIndex: 0-based index of the first row in the range. Example: 0
|
|
1690
1690
|
startColumnIndex: 0-based index of the first column in the range. Example: 0
|
|
1691
1691
|
endRowIndex: 0-based index of the row *after* the last row in the range (exclusive). Example: 1
|
|
@@ -37,7 +37,7 @@ class LinkedinApp(APIApplication):
|
|
|
37
37
|
is_reshare_disabled: bool = False,
|
|
38
38
|
) -> dict[str, str]:
|
|
39
39
|
"""
|
|
40
|
-
Publishes a new text post to a specified LinkedIn author's feed (person or organization). It
|
|
40
|
+
Publishes a new text post to a specified LinkedIn author's feed (person or organization). It allows configuring visibility, distribution, and lifecycle state. Upon success, it returns the unique URN and URL for the new post, distinguishing this creation operation from the update or delete functions.
|
|
41
41
|
|
|
42
42
|
Args:
|
|
43
43
|
commentary (str): The user generated commentary for the post. Supports mentions using format "@[Entity Name](urn:li:organization:123456)" and hashtags using "#keyword". Text linking to annotated entities must match the name exactly (case sensitive). For member mentions, partial name matching is supported.
|
|
@@ -99,7 +99,7 @@ class LinkedinApp(APIApplication):
|
|
|
99
99
|
|
|
100
100
|
def get_authenticated_user_profile(self) -> dict[str, Any]:
|
|
101
101
|
"""
|
|
102
|
-
Retrieves the authenticated user's profile
|
|
102
|
+
Retrieves the authenticated user's profile from the LinkedIn `/v2/userinfo` endpoint. Using credentials from the active integration, it returns a dictionary with basic user details like name and email. This function is for fetching user data, distinct from others that create, update, or delete posts.
|
|
103
103
|
|
|
104
104
|
Returns:
|
|
105
105
|
dict[str, Any]: Dictionary containing your LinkedIn profile information.
|
|
@@ -123,7 +123,7 @@ class LinkedinApp(APIApplication):
|
|
|
123
123
|
|
|
124
124
|
def delete_post(self, post_urn: str) -> dict[str, str]:
|
|
125
125
|
"""
|
|
126
|
-
Deletes a
|
|
126
|
+
Deletes a LinkedIn post identified by its unique Uniform Resource Name (URN). This function sends a DELETE request to the API, permanently removing the content. Upon a successful HTTP 204 response, it returns a dictionary confirming the post's deletion status.
|
|
127
127
|
|
|
128
128
|
Args:
|
|
129
129
|
post_urn (str): The URN of the post to delete. Can be either a ugcPostUrn (urn:li:ugcPost:{id}) or shareUrn (urn:li:share:{id}).
|
|
@@ -163,7 +163,7 @@ class LinkedinApp(APIApplication):
|
|
|
163
163
|
ad_context_status: str | None = None,
|
|
164
164
|
) -> dict[str, str]:
|
|
165
165
|
"""
|
|
166
|
-
Modifies an existing LinkedIn post identified by its URN
|
|
166
|
+
Modifies an existing LinkedIn post, identified by its URN, by performing a partial update. It selectively changes attributes like commentary or ad context, distinguishing it from `create_post` which creates new content. Returns a confirmation dictionary upon successful completion.
|
|
167
167
|
|
|
168
168
|
Args:
|
|
169
169
|
post_urn (str): The URN of the post to update. Can be either a ugcPostUrn (urn:li:ugcPost:{id}) or shareUrn (urn:li:share:{id}).
|
|
@@ -62,7 +62,7 @@ class MsTeamsApp(APIApplication):
|
|
|
62
62
|
|
|
63
63
|
def get_joined_teams(self) -> list[dict[str, Any]]:
|
|
64
64
|
"""
|
|
65
|
-
Fetches all Microsoft Teams the authenticated user
|
|
65
|
+
Fetches all Microsoft Teams the authenticated user belongs to by querying the `/me/joinedTeams` Graph API endpoint. It returns a list of dictionaries, where each dictionary represents a single team's details, unlike functions that list channels or chats for a specific team.
|
|
66
66
|
|
|
67
67
|
Returns:
|
|
68
68
|
A list of dictionaries, where each dictionary represents a team.
|
|
@@ -92,7 +92,7 @@ class MsTeamsApp(APIApplication):
|
|
|
92
92
|
expand: list[str] | None = None,
|
|
93
93
|
) -> dict[str, Any]:
|
|
94
94
|
"""
|
|
95
|
-
Retrieves channels for a specified Microsoft Teams team
|
|
95
|
+
Retrieves the collection of channels for a specified Microsoft Teams team by its ID. It supports advanced OData query parameters for filtering, sorting, and pagination, distinguishing it from functions that fetch single channels like `get_channel_details`.
|
|
96
96
|
|
|
97
97
|
Args:
|
|
98
98
|
team_id (string): team-id
|
|
@@ -136,7 +136,7 @@ class MsTeamsApp(APIApplication):
|
|
|
136
136
|
|
|
137
137
|
def send_chat_message(self, chat_id: str, content: str) -> dict[str, Any]:
|
|
138
138
|
"""
|
|
139
|
-
Posts a new message to a specific Microsoft Teams chat using its unique ID.
|
|
139
|
+
Posts a new message to a specific Microsoft Teams chat using its unique ID. This function targets direct or group chats, distinguishing it from `send_channel_message`, which posts to public team channels, and `reply_to_chat_message`, which responds to existing messages.
|
|
140
140
|
|
|
141
141
|
Args:
|
|
142
142
|
chat_id: The unique identifier of the chat.
|
|
@@ -160,7 +160,7 @@ class MsTeamsApp(APIApplication):
|
|
|
160
160
|
self, team_id: str, channel_id: str, content: str
|
|
161
161
|
) -> dict[str, Any]:
|
|
162
162
|
"""
|
|
163
|
-
Posts a new message to a specified
|
|
163
|
+
Posts a new message to a specified team channel, initiating a new conversation thread. Unlike `reply_to_channel_message`, which replies to a message, this function starts a new topic. It's distinct from `send_chat_message`, which is for private or group chats, not team channels.
|
|
164
164
|
|
|
165
165
|
Args:
|
|
166
166
|
team_id: The unique identifier of the team.
|
|
@@ -185,7 +185,7 @@ class MsTeamsApp(APIApplication):
|
|
|
185
185
|
self, team_id: str, channel_id: str, message_id: str, content: str
|
|
186
186
|
) -> dict[str, Any]:
|
|
187
187
|
"""
|
|
188
|
-
Posts a reply to a specific message within a Microsoft Teams channel. It uses the team, channel, and original message IDs to target
|
|
188
|
+
Posts a reply to a specific message within a Microsoft Teams channel. It uses the team, channel, and original message IDs to target an existing conversation thread, distinguishing it from `send_channel_message` which starts a new one.
|
|
189
189
|
|
|
190
190
|
Args:
|
|
191
191
|
team_id: The unique identifier of the team.
|
|
@@ -228,7 +228,7 @@ class MsTeamsApp(APIApplication):
|
|
|
228
228
|
tabs: list[Any] | None = None,
|
|
229
229
|
) -> Any:
|
|
230
230
|
"""
|
|
231
|
-
Creates a new
|
|
231
|
+
Creates a new one-on-one or group chat in Microsoft Teams. This function provisions a new conversation using optional parameters like chatType and members, distinguishing it from functions that create teams (`create_team`) or send messages to existing chats (`send_chat_message`).
|
|
232
232
|
|
|
233
233
|
Args:
|
|
234
234
|
id (string): The unique identifier for an entity. Read-only.
|
|
@@ -298,7 +298,7 @@ class MsTeamsApp(APIApplication):
|
|
|
298
298
|
expand: list[str] | None = None,
|
|
299
299
|
) -> Any:
|
|
300
300
|
"""
|
|
301
|
-
Retrieves the properties and relationships of a specific chat conversation by its unique ID. Optional parameters can select specific fields or expand related entities
|
|
301
|
+
Retrieves the properties and relationships of a specific chat conversation by its unique ID. Unlike `get_user_chats` which lists all chats, this targets one chat. Optional parameters can select specific fields or expand related entities like members or apps to customize the returned data.
|
|
302
302
|
|
|
303
303
|
Args:
|
|
304
304
|
chat_id (string): chat-id
|
|
@@ -345,7 +345,7 @@ class MsTeamsApp(APIApplication):
|
|
|
345
345
|
tabs: list[Any] | None = None,
|
|
346
346
|
) -> Any:
|
|
347
347
|
"""
|
|
348
|
-
Updates properties of a specific chat, such as its topic, using its unique ID. This function performs a partial update (PATCH)
|
|
348
|
+
Updates properties of a specific chat, such as its topic, using its unique ID. This function performs a partial update (PATCH), distinguishing it from `get_chat_details` which only retrieves data, and `create_chat` which creates an entirely new chat conversation.
|
|
349
349
|
|
|
350
350
|
Args:
|
|
351
351
|
chat_id (string): chat-id
|
|
@@ -419,7 +419,7 @@ class MsTeamsApp(APIApplication):
|
|
|
419
419
|
expand: list[str] | None = None,
|
|
420
420
|
) -> dict[str, Any]:
|
|
421
421
|
"""
|
|
422
|
-
Retrieves
|
|
422
|
+
Retrieves applications installed in a specific chat, identified by `chat_id`. Differentiating from `list_user_installed_apps`, which targets a user's personal scope, this function queries a single conversation. It supports optional parameters for advanced filtering, sorting, and pagination to customize the returned collection.
|
|
423
423
|
|
|
424
424
|
Args:
|
|
425
425
|
chat_id (string): chat-id
|
|
@@ -474,7 +474,7 @@ class MsTeamsApp(APIApplication):
|
|
|
474
474
|
expand: list[str] | None = None,
|
|
475
475
|
) -> dict[str, Any]:
|
|
476
476
|
"""
|
|
477
|
-
Retrieves a
|
|
477
|
+
Retrieves a collection of all members in a specific chat using its ID. It supports OData query parameters for pagination, filtering, and sorting. Unlike `get_chat_member`, which fetches a single individual, this function returns the entire collection of members for the specified chat.
|
|
478
478
|
|
|
479
479
|
Args:
|
|
480
480
|
chat_id (string): chat-id
|
|
@@ -525,7 +525,7 @@ class MsTeamsApp(APIApplication):
|
|
|
525
525
|
visibleHistoryStartDateTime: str | None = None,
|
|
526
526
|
) -> Any:
|
|
527
527
|
"""
|
|
528
|
-
Adds a member to a
|
|
528
|
+
Adds a new member to a specific Microsoft Teams chat using its `chat_id`. This function allows for configuring member roles and chat history visibility. It is the direct counterpart to `delete_chat_member`, performing the 'create' action for a chat's membership.
|
|
529
529
|
|
|
530
530
|
Args:
|
|
531
531
|
chat_id (string): chat-id
|
|
@@ -573,7 +573,7 @@ class MsTeamsApp(APIApplication):
|
|
|
573
573
|
expand: list[str] | None = None,
|
|
574
574
|
) -> Any:
|
|
575
575
|
"""
|
|
576
|
-
Retrieves detailed information for a specific member within a chat using their unique ID.
|
|
576
|
+
Retrieves detailed information for a specific member within a chat using their unique ID. This function targets a single individual, distinguishing it from `list_chat_members` which returns all members. The response can be customized by selecting specific properties or expanding related entities.
|
|
577
577
|
|
|
578
578
|
Args:
|
|
579
579
|
chat_id (string): chat-id
|
|
@@ -603,7 +603,7 @@ class MsTeamsApp(APIApplication):
|
|
|
603
603
|
|
|
604
604
|
def delete_chat_member(self, chat_id: str, conversationMember_id: str) -> Any:
|
|
605
605
|
"""
|
|
606
|
-
Removes a specific member from a chat using their unique ID and the chat's ID. This function sends a DELETE request to the Microsoft Graph API to permanently remove the user from the
|
|
606
|
+
Removes a specific member from a chat using their unique ID and the chat's ID. This function sends a DELETE request to the Microsoft Graph API to permanently remove the user from the conversation, acting as the counterpart to `add_member_to_chat`.
|
|
607
607
|
|
|
608
608
|
Args:
|
|
609
609
|
chat_id (string): chat-id
|
|
@@ -640,7 +640,7 @@ class MsTeamsApp(APIApplication):
|
|
|
640
640
|
expand: list[str] | None = None,
|
|
641
641
|
) -> dict[str, Any]:
|
|
642
642
|
"""
|
|
643
|
-
Retrieves
|
|
643
|
+
Retrieves messages from a specific chat using its ID. Unlike `get_chat_message`, which fetches a single message, this function returns a collection and supports advanced querying for filtering, sorting, and pagination to refine the results.
|
|
644
644
|
|
|
645
645
|
Args:
|
|
646
646
|
chat_id (string): chat-id
|
|
@@ -690,7 +690,7 @@ class MsTeamsApp(APIApplication):
|
|
|
690
690
|
expand: list[str] | None = None,
|
|
691
691
|
) -> Any:
|
|
692
692
|
"""
|
|
693
|
-
Retrieves the full details of a single message from a specific chat
|
|
693
|
+
Retrieves the full details of a single message from a specific chat using both chat and message IDs. This function targets an individual message, differentiating it from `list_chat_messages`, which retrieves a collection. Optional parameters can customize the response by selecting specific properties or expanding entities.
|
|
694
694
|
|
|
695
695
|
Args:
|
|
696
696
|
chat_id (string): chat-id
|
|
@@ -732,7 +732,7 @@ class MsTeamsApp(APIApplication):
|
|
|
732
732
|
expand: list[str] | None = None,
|
|
733
733
|
) -> dict[str, Any]:
|
|
734
734
|
"""
|
|
735
|
-
Retrieves
|
|
735
|
+
Retrieves all replies for a specific message within a chat, using the parent message's ID. This function, unlike `get_chat_reply_details`, returns a collection and supports OData query parameters for advanced filtering, sorting, and pagination of the results.
|
|
736
736
|
|
|
737
737
|
Args:
|
|
738
738
|
chat_id (string): chat-id
|
|
@@ -808,7 +808,7 @@ class MsTeamsApp(APIApplication):
|
|
|
808
808
|
replies: list[Any] | None = None,
|
|
809
809
|
) -> Any:
|
|
810
810
|
"""
|
|
811
|
-
Posts a reply to a specific message within a chat. This comprehensive function allows for detailed configuration of the reply
|
|
811
|
+
Posts a reply to a specific message within a chat. This comprehensive function allows for detailed configuration of the reply's properties, like its body and attachments. It differs from `reply_to_channel_message`, which sends simpler replies to messages within team channels.
|
|
812
812
|
|
|
813
813
|
Args:
|
|
814
814
|
chat_id (string): chat-id
|
|
@@ -902,7 +902,7 @@ class MsTeamsApp(APIApplication):
|
|
|
902
902
|
expand: list[str] | None = None,
|
|
903
903
|
) -> Any:
|
|
904
904
|
"""
|
|
905
|
-
Retrieves a
|
|
905
|
+
Retrieves a specific reply from a chat message thread using the chat, parent message, and reply IDs. Unlike `list_chat_message_replies`, which fetches all replies, this function targets a single reply for detailed information, allowing for customized field selection.
|
|
906
906
|
|
|
907
907
|
Args:
|
|
908
908
|
chat_id (string): chat-id
|
|
@@ -968,7 +968,7 @@ class MsTeamsApp(APIApplication):
|
|
|
968
968
|
template: Any | None = None,
|
|
969
969
|
) -> Any:
|
|
970
970
|
"""
|
|
971
|
-
Enables
|
|
971
|
+
Enables Microsoft Teams functionality for a pre-existing Microsoft 365 group using its ID. This 'team-ifies' the group, allowing optional configuration of team properties. It differs from `create_team`, which provisions both a new team and its associated group simultaneously.
|
|
972
972
|
|
|
973
973
|
Args:
|
|
974
974
|
group_id (string): group-id
|
|
@@ -1191,7 +1191,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1191
1191
|
expand: list[str] | None = None,
|
|
1192
1192
|
) -> Any:
|
|
1193
1193
|
"""
|
|
1194
|
-
Retrieves detailed information for a specific channel within a Microsoft Teams team, identified by both team and channel IDs. Optional parameters
|
|
1194
|
+
Retrieves detailed information for a specific channel within a Microsoft Teams team, identified by both team and channel IDs. Optional parameters can select specific properties or expand related entities in the response, distinguishing it from list_channels_for_team, which retrieves a collection of channels.
|
|
1195
1195
|
|
|
1196
1196
|
Args:
|
|
1197
1197
|
team_id (string): team-id
|
|
@@ -1251,7 +1251,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1251
1251
|
replies: list[Any] | None = None,
|
|
1252
1252
|
) -> Any:
|
|
1253
1253
|
"""
|
|
1254
|
-
Updates
|
|
1254
|
+
Updates an existing message within a Microsoft Teams channel, identified by team, channel, and message IDs. This function modifies the original message's properties, like its body, via a PATCH request, distinguishing it from functions that create new messages or update replies.
|
|
1255
1255
|
|
|
1256
1256
|
Args:
|
|
1257
1257
|
team_id (string): team-id
|
|
@@ -1467,7 +1467,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1467
1467
|
expand: list[str] | None = None,
|
|
1468
1468
|
) -> dict[str, Any]:
|
|
1469
1469
|
"""
|
|
1470
|
-
Retrieves a
|
|
1470
|
+
Retrieves a collection of tabs from a specified channel within a Microsoft Teams team. Unlike `get_channel_tab_details`, which fetches a single tab, this function lists all tabs and supports advanced OData query parameters for filtering, sorting, and pagination of the entire collection.
|
|
1471
1471
|
|
|
1472
1472
|
Args:
|
|
1473
1473
|
team_id (string): team-id
|
|
@@ -1523,7 +1523,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1523
1523
|
teamsApp: Any | None = None,
|
|
1524
1524
|
) -> Any:
|
|
1525
1525
|
"""
|
|
1526
|
-
|
|
1526
|
+
Creates a new tab in a specified Microsoft Teams channel using team and channel IDs. This function configures the tab's initial properties, such as display name and application, distinguishing it from functions that list (`list_channel_tabs`) or modify (`update_channel_tab`) existing tabs.
|
|
1527
1527
|
|
|
1528
1528
|
Args:
|
|
1529
1529
|
team_id (string): team-id
|
|
@@ -1577,7 +1577,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1577
1577
|
expand: list[str] | None = None,
|
|
1578
1578
|
) -> Any:
|
|
1579
1579
|
"""
|
|
1580
|
-
|
|
1580
|
+
Fetches properties for a single tab within a specific Microsoft Teams channel, identified by its team, channel, and tab IDs. Unlike `list_channel_tabs` which gets all tabs, this targets a specific one, with options to select fields or expand related entities in the response.
|
|
1581
1581
|
|
|
1582
1582
|
Args:
|
|
1583
1583
|
team_id (string): team-id
|
|
@@ -1622,7 +1622,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1622
1622
|
teamsApp: Any | None = None,
|
|
1623
1623
|
) -> Any:
|
|
1624
1624
|
"""
|
|
1625
|
-
|
|
1625
|
+
Modifies properties of an existing tab within a specific Microsoft Teams channel. It uses the team, channel, and tab IDs to target the tab, allowing for partial updates to its configuration or display name via a PATCH request, differentiating it from tab creation or deletion functions.
|
|
1626
1626
|
|
|
1627
1627
|
Args:
|
|
1628
1628
|
team_id (string): team-id
|
|
@@ -1671,7 +1671,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1671
1671
|
self, team_id: str, channel_id: str, teamsTab_id: str
|
|
1672
1672
|
) -> Any:
|
|
1673
1673
|
"""
|
|
1674
|
-
|
|
1674
|
+
Permanently removes a specific tab from a Microsoft Teams channel using its unique ID, along with the parent team and channel IDs. This function is the destructive counterpart to `create_channel_tab`, designed to delete a tab rather than create, list, or update one.
|
|
1675
1675
|
|
|
1676
1676
|
Args:
|
|
1677
1677
|
team_id (string): team-id
|
|
@@ -1707,7 +1707,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1707
1707
|
expand: list[str] | None = None,
|
|
1708
1708
|
) -> Any:
|
|
1709
1709
|
"""
|
|
1710
|
-
Retrieves
|
|
1710
|
+
Retrieves the primary channel (usually 'General') for a specified team using its ID. Unlike `get_channel_details`, this function directly accesses the team's default channel without requiring a specific channel ID. Optional parameters can select or expand properties in the returned data.
|
|
1711
1711
|
|
|
1712
1712
|
Args:
|
|
1713
1713
|
team_id (string): team-id
|
|
@@ -1745,7 +1745,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1745
1745
|
expand: list[str] | None = None,
|
|
1746
1746
|
) -> dict[str, Any]:
|
|
1747
1747
|
"""
|
|
1748
|
-
Retrieves
|
|
1748
|
+
Retrieves applications installed in a user's personal Microsoft Teams scope, identified by their ID. Unlike `list_installed_chat_apps` which targets chat installations, this focuses on the user's scope. It supports optional OData parameters for filtering, sorting, and pagination to customize the returned app collection.
|
|
1749
1749
|
|
|
1750
1750
|
Args:
|
|
1751
1751
|
user_id (string): user-id
|