diff --git a/docker/toolkits.txt b/docker/toolkits.txt index 26bc41cb..e384ca74 100644 --- a/docker/toolkits.txt +++ b/docker/toolkits.txt @@ -1,3 +1,4 @@ +arcade-airtable-api arcade-box-api arcade-calendly-api arcade-miro-api diff --git a/toolkits/airtable_api/.pre-commit-config.yaml b/toolkits/airtable_api/.pre-commit-config.yaml new file mode 100644 index 00000000..1228317f --- /dev/null +++ b/toolkits/airtable_api/.pre-commit-config.yaml @@ -0,0 +1,18 @@ +files: ^.*/airtable_api/.* +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: "v4.4.0" + hooks: + - id: check-case-conflict + - id: check-merge-conflict + - id: check-toml + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.6.7 + hooks: + - id: ruff + args: [--fix] + - id: ruff-format diff --git a/toolkits/airtable_api/.ruff.toml b/toolkits/airtable_api/.ruff.toml new file mode 100644 index 00000000..9519fe6c --- /dev/null +++ b/toolkits/airtable_api/.ruff.toml @@ -0,0 +1,44 @@ +target-version = "py310" +line-length = 100 +fix = true + +[lint] +select = [ + # flake8-2020 + "YTT", + # flake8-bandit + "S", + # flake8-bugbear + "B", + # flake8-builtins + "A", + # flake8-comprehensions + "C4", + # flake8-debugger + "T10", + # flake8-simplify + "SIM", + # isort + "I", + # mccabe + "C90", + # pycodestyle + "E", "W", + # pyflakes + "F", + # pygrep-hooks + "PGH", + # pyupgrade + "UP", + # ruff + "RUF", + # tryceratops + "TRY", +] + +[lint.per-file-ignores] +"**/tests/*" = ["S101"] + +[format] +preview = true +skip-magic-trailing-comma = false diff --git a/toolkits/airtable_api/LICENSE b/toolkits/airtable_api/LICENSE new file mode 100644 index 00000000..dfbb8b76 --- /dev/null +++ b/toolkits/airtable_api/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025, Arcade AI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/toolkits/airtable_api/Makefile b/toolkits/airtable_api/Makefile new file mode 100644 index 00000000..86da492a --- /dev/null +++ b/toolkits/airtable_api/Makefile @@ -0,0 +1,54 @@ +.PHONY: help + +help: + @echo "🛠️ github Commands:\n" + @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + +.PHONY: install +install: ## Install the uv environment and install all packages with dependencies + @echo "🚀 Creating virtual environment and installing all packages using uv" + @uv sync --active --all-extras --no-sources + @if [ -f .pre-commit-config.yaml ]; then uv run --no-sources pre-commit install; fi + @echo "✅ All packages and dependencies installed via uv" + +.PHONY: install-local +install-local: ## Install the uv environment and install all packages with dependencies with local Arcade sources + @echo "🚀 Creating virtual environment and installing all packages using uv" + @uv sync --active --all-extras + @if [ -f .pre-commit-config.yaml ]; then uv run pre-commit install; fi + @echo "✅ All packages and dependencies installed via uv" +.PHONY: build +build: clean-build ## Build wheel file using poetry + @echo "🚀 Creating wheel file" + uv build + +.PHONY: clean-build +clean-build: ## clean build artifacts + @echo "🗑️ Cleaning dist directory" + rm -rf dist + +.PHONY: test +test: ## Test the code with pytest + @echo "🚀 Testing code: Running pytest" + @uv run --no-sources pytest -W ignore -v --cov --cov-config=pyproject.toml --cov-report=xml + +.PHONY: coverage +coverage: ## Generate coverage report + @echo "coverage report" + @uv run --no-sources coverage report + @echo "Generating coverage report" + @uv run --no-sources coverage html + +.PHONY: bump-version +bump-version: ## Bump the version in the pyproject.toml file by a patch version + @echo "🚀 Bumping version in pyproject.toml" + uv version --no-sources --bump patch + +.PHONY: check +check: ## Run code quality tools. + @if [ -f .pre-commit-config.yaml ]; then\ + echo "🚀 Linting code: Running pre-commit";\ + uv run --no-sources pre-commit run -a;\ + fi + @echo "🚀 Static type checking: Running mypy" + @uv run --no-sources mypy --config-file=pyproject.toml diff --git a/toolkits/airtable_api/arcade_airtable_api/__init__.py b/toolkits/airtable_api/arcade_airtable_api/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/toolkits/airtable_api/arcade_airtable_api/tools/__init__.py b/toolkits/airtable_api/arcade_airtable_api/tools/__init__.py new file mode 100644 index 00000000..0d5691ed --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/tools/__init__.py @@ -0,0 +1,1785 @@ +"""Arcade Starter Tools for Airtable + +DO NOT EDIT THIS MODULE DIRECTLY. + +THIS MODULE WAS AUTO-GENERATED BY TRANSPILING THE API STARTER TOOL JSON DEFINITIONS +IN THE ../wrapper_tools DIRECTORY INTO PYTHON CODE. ANY CHANGES TO THIS MODULE WILL +BE OVERWRITTEN BY THE TRANSPILER. +""" + +import asyncio +from typing import Annotated, Any + +import httpx +from arcade_tdk import ToolContext, tool +from arcade_tdk.auth import OAuth2 + +# Retry configuration +INITIAL_RETRY_DELAY = 0.5 # seconds + +HTTP_CLIENT = httpx.AsyncClient( + timeout=httpx.Timeout(60.0, connect=10.0), + limits=httpx.Limits(max_keepalive_connections=20, max_connections=100), + transport=httpx.AsyncHTTPTransport(retries=3), + http2=True, + follow_redirects=True, +) + + +def remove_none_values(data: dict[str, Any]) -> dict[str, Any]: + return {k: v for k, v in data.items() if v is not None} + + +async def make_request( + url: str, + method: str, + params: dict[str, Any] | None = None, + headers: dict[str, Any] | None = None, + data: dict[str, Any] | None = None, + max_retries: int = 3, +) -> httpx.Response: + """Make an HTTP request with retry logic for 5xx server errors.""" + for attempt in range(max_retries): + try: + response = await HTTP_CLIENT.request( + url=url, + method=method, + params=params, + headers=headers, + data=data, + ) + response.raise_for_status() + except httpx.HTTPStatusError as e: + # Only retry on 5xx server errors + if e.response.status_code >= 500 and attempt < max_retries - 1: + # Exponential backoff: 0.5s, 1s, 2s + await asyncio.sleep(INITIAL_RETRY_DELAY * (2**attempt)) + continue + # Re-raise for 4xx errors or if max retries reached + raise + except httpx.RequestError: + # Don't retry request errors (network issues are handled by transport) + raise + else: + return response + + # This should never be reached, but satisfies type checker + raise httpx.RequestError("Max retries exceeded") # noqa: TRY003 + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.scim.usersAndGroups:manage"])) +async def list_scim_groups( + context: ToolContext, + maximum_results: Annotated[ + float | None, + "Specifies the maximum number of SCIM group objects to return. Must be a positive integer.", + ] = None, + group_filter: Annotated[ + str | None, "A SCIM filter expression to narrow down group results based on attributes." + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-scim-groups'."]: + """Retrieve a list of SCIM groups from Airtable. + + This tool calls the Airtable API to list groups in the form of SCIM Group objects, following the SCIM specification for list responses. Use it when you need to access or manage groups in the SCIM format.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/scim/v2/Groups", + method="GET", + params=remove_none_values({"count": maximum_results, "filter": group_filter}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.scim.usersAndGroups:manage"])) +async def delete_scim_group( + context: ToolContext, + scim_group_id: Annotated[ + str, + "The unique identifier for the SCIM group to be deleted. This ID specifies which group you intend to delete and must match an existing group.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-scim-group'."]: + """Delete a specific SCIM group by ID. + + Use this tool to delete a SCIM group specified by its group ID. Ideal for removing outdated or unnecessary groups.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/scim/v2/Groups/{groupId}".format(groupId=scim_group_id), # noqa: UP032 + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.scim.usersAndGroups:manage"])) +async def get_scim_group_info( + context: ToolContext, + scim_group_id: Annotated[str, "The unique ID of the SCIM Group to retrieve details for."], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-scim-group'."]: + """Retrieve details of a SCIM Group object by ID. + + Use this tool to get detailed information about a SCIM Group object using its unique ID. It is useful when you need group metadata and attributes compliant with SCIM standards.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/scim/v2/Groups/{groupId}".format(groupId=scim_group_id), # noqa: UP032 + method="GET", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.scim.usersAndGroups:manage"])) +async def list_scim_users( + context: ToolContext, + start_index: Annotated[ + float | None, "The starting index for listing SCIM users. Must be a positive integer." + ] = None, + max_number_of_users: Annotated[ + float | None, + "Specifies the maximum number of SCIM users to retrieve. This number determines how many user objects will be returned in the response.", # noqa: E501 + ] = None, + user_filter_query: Annotated[ + str | None, + "A string query to filter SCIM users based on specific attributes, following SCIM filtering syntax.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-scim-users'."]: + """Retrieve a list of SCIM user objects. + + This tool retrieves a list of users in the SCIM User format, following the SCIM specification. It's useful for managing user directories and data synchronization.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/scim/v2/Users", + method="GET", + params=remove_none_values({ + "startIndex": start_index, + "count": max_number_of_users, + "filter": user_filter_query, + }), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.scim.usersAndGroups:manage"])) +async def delete_scim_user( + context: ToolContext, + user_id: Annotated[ + str, + "The unique identifier of the SCIM user to be deleted. Ensure it is not the admin using the auth token or the sole owner of a multi-collaborator workspace.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-scim-user'."]: + """Delete a single SCIM user from Airtable. + + Use this tool to delete a SCIM user from Airtable, except for the admin owning the authentication token or the sole owner of a workspace with multiple collaborators.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/scim/v2/Users/{userId}".format(userId=user_id), # noqa: UP032 + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.scim.usersAndGroups:manage"])) +async def fetch_scim_user( + context: ToolContext, + user_id: Annotated[ + str, + "The unique identifier of the SCIM user to be retrieved. Provide the user ID to fetch the user's SCIM object.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-scim-user'."]: + """Fetches a SCIM User object by user ID. + + Call this tool to get detailed information about a specific user in the SCIM format by providing the user's ID.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/scim/v2/Users/{userId}".format(userId=user_id), # noqa: UP032 + method="GET", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["webhook:manage"])) +async def list_webhooks_for_base( + context: ToolContext, + base_id: Annotated[ + str, + "The unique identifier for the Airtable base to list webhooks for. Requires read permissions.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-webhooks'."]: + """List all webhooks for a specified base. + + Fetches and lists all registered webhooks for a given base in Airtable, including their statuses. Requires read permissions.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/bases/{baseId}/webhooks".format(baseId=base_id), # noqa: UP032 + method="GET", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["webhook:manage"])) +async def delete_airtable_webhook( + context: ToolContext, + airtable_base_id: Annotated[ + str, + "The unique identifier for the Airtable base. Required to specify which base contains the webhook to delete.", # noqa: E501 + ], + webhook_id: Annotated[ + str, "The unique identifier for the webhook you wish to delete. This is required." + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-a-webhook'."]: + """Deletes an Airtable webhook. + + Use this tool to delete an existing webhook in Airtable. Creator level permissions are required.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/bases/{baseId}/webhooks/{webhookId}".format( # noqa: UP032 + baseId=airtable_base_id, webhookId=webhook_id + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable")) +async def retrieve_webhook_payloads( + context: ToolContext, + airtable_base_id: Annotated[ + str, + "The unique identifier for the Airtable base from which to retrieve webhook update messages.", # noqa: E501 + ], + webhook_identifier: Annotated[ + str, + "The unique identifier for the Airtable webhook whose payloads are to be retrieved. This is necessary to specify which webhook's updates need to be listed.", # noqa: E501 + ], + pagination_cursor: Annotated[ + float | None, + "Numeric cursor for paginating through webhook payloads. Useful for retrieving additional pages of data.", # noqa: E501 + ] = None, + max_payload_entries: Annotated[ + float | None, + "The maximum number of payload entries to retrieve. This helps manage the volume of data returned by the endpoint.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-webhook-payloads'."]: + """Retrieve update messages for Airtable webhooks. + + This tool retrieves the update messages from an Airtable webhook to ensure clients receive them after a ping event. It also extends the webhook's expiration time to 7 days from the call, ensuring continued activation if the webhook remains active.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/bases/{baseId}/webhooks/{webhookId}/payloads".format( # noqa: UP032 + baseId=airtable_base_id, webhookId=webhook_identifier + ), + method="GET", + params=remove_none_values({"cursor": pagination_cursor, "limit": max_payload_entries}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["webhook:manage"])) +async def extend_webhook_expiration( + context: ToolContext, + airtable_base_id: Annotated[ + str, + "The unique identifier for the Airtable base. Required to specify which base contains the webhook.", # noqa: E501 + ], + webhook_identifier: Annotated[ + str, + "The unique identifier for the webhook to be refreshed. This is required to specify which webhook's expiration time you wish to extend.", # noqa: E501 + ], + webhook_refresh_request: Annotated[ + dict[str, str] | None, + "A JSON object containing specifics for the webhook refresh request. This includes relevant details needed for processing the expiration extension.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'refresh-a-webhook'."]: + """Extend the expiration time of an Airtable webhook. + + Use this tool to extend the life of an active Airtable webhook by 7 days from the refresh time. Requires creator level permissions.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/bases/{baseId}/webhooks/{webhookId}/refresh".format( # noqa: UP032 + baseId=airtable_base_id, webhookId=webhook_identifier + ), + method="POST", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({"requestBody": webhook_refresh_request}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["schema.bases:read"])) +async def get_accessible_airtable_bases( + context: ToolContext, + pagination_offset: Annotated[ + str | None, + "The offset token for paginating through results. Use it to retrieve the next set of Airtable bases.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-bases'."]: + """Retrieve the list of accessible Airtable bases. + + Use this tool to get a list of the bases that the provided token can access. This is useful for managing or displaying base information in Airtable.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases", + method="GET", + params=remove_none_values({"offset": pagination_offset}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:manage"])) +async def delete_airtable_base( + context: ToolContext, + airtable_base_id: Annotated[ + str, "The unique identifier of the Airtable base to delete. It should be a string." + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-base'."]: + """Delete a specified Airtable base. + + Use this tool to delete an Airtable base when it is no longer needed. Deleted bases can be restored by workspace owners from the Trash UI, subject to the workspace's billing plan retention period.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}".format(baseId=airtable_base_id), # noqa: UP032 + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:read"])) +async def get_base_collaborators( + context: ToolContext, + base_id: Annotated[ + str, + "The unique identifier for the Airtable base from which you want to retrieve collaborator information.", # noqa: E501 + ], + fields_to_include: Annotated[ + list[str] | None, + "A list of fields to return for each collaborator. Example: ['name', 'email'].", + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-base-collaborators'."]: + """Retrieve basic information about base collaborators. + + Use this tool to get details on collaborators associated with a specific base, excluding any deleted collaborators and including outstanding invites.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}".format(baseId=base_id), # noqa: UP032 + method="GET", + params=remove_none_values({"include": fields_to_include}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:read"])) +async def list_base_block_installations( + context: ToolContext, + base_identifier: Annotated[ + str, "Unique identifier for the Airtable base to list block installations from." + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-block-installations'."]: + """Lists basic information of base block installations. + + Use this tool to retrieve details about block installations in a specific Airtable base. It provides an overview of the blocks attached to the base, useful for managing or reviewing installed blocks.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/blockInstallations".format( # noqa: UP032 + baseId=base_identifier + ), + method="GET", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:write"])) +async def delete_airtable_block_installation( + context: ToolContext, + airtable_base_id: Annotated[ + str, + "The unique identifier for the Airtable base from which the block installation will be deleted. This ID specifies the particular base in question.", # noqa: E501 + ], + block_installation_id: Annotated[ + str, + "The unique identifier of the block installation to delete. This ID is required to specify which block installation to remove.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-block-installation'."]: + """Delete a block installation from an Airtable base. + + Use this tool to delete a block installation from an Airtable base. The deleted block installation can be recovered if needed.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/blockInstallations/{blockInstallationId}".format( # noqa: UP032 + baseId=airtable_base_id, blockInstallationId=block_installation_id + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:write"])) +async def remove_base_collaborator( + context: ToolContext, + base_identifier: Annotated[ + str, + "The unique identifier of the Airtable base from which the collaborator will be removed. It is expected to be a string.", # noqa: E501 + ], + collaborator_id: Annotated[ + str, "The ID of the user or group to be removed from the Airtable base." + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-base-collaborator'."]: + """Remove a collaborator from a specific Airtable base. + + Use this tool to remove a user or group from collaboration on an Airtable base. It should be called when you need to manage access and permissions of collaborators.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/collaborators/{userOrGroupId}".format( # noqa: UP032 + baseId=base_identifier, userOrGroupId=collaborator_id + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:read"])) +async def get_airtable_interface_info( + context: ToolContext, + airtable_base_id: Annotated[ + str, "The unique identifier for the Airtable base to retrieve interface information from." + ], + interface_id: Annotated[ + str, + "The ID of the Airtable interface to retrieve information for, found in the interfaces object.", # noqa: E501 + ], + include_fields: Annotated[ + list[str] | None, + "A list of fields to include in the response. Provide field names as strings.", + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-interface'."]: + """Retrieve general information about an Airtable interface. + + This tool retrieves general information about a specified Airtable interface, excluding deleted collaborators and including outstanding invites.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/interfaces/{pageBundleId}".format( # noqa: UP032 + baseId=airtable_base_id, pageBundleId=interface_id + ), + method="GET", + params=remove_none_values({"include": include_fields}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:write"])) +async def delete_interface_collaborator( + context: ToolContext, + base_id: Annotated[ + str, + "The unique identifier of the Airtable base from which the collaborator will be removed. This ID is essential to specify the correct base for the operation.", # noqa: E501 + ], + page_bundle_identifier: Annotated[ + str, "The unique identifier for the page bundle from which to delete the collaborator." + ], + user_or_group_id: Annotated[ + str, + "The unique identifier of the user or group to be removed from the interface. This ID specifies which collaborator is to be deleted.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-interface-collaborator'."]: + """Delete a collaborator from an Airtable interface. + + This tool removes an interface collaborator in Airtable. It requires base collaborator access to remove others but can be used to remove oneself, even with interface-only access.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/interfaces/{pageBundleId}/collaborators/{userOrGroupId}".format( # noqa: UP032 + baseId=base_id, pageBundleId=page_bundle_identifier, userOrGroupId=user_or_group_id + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:write"])) +async def delete_interface_invite( + context: ToolContext, + base_identifier: Annotated[ + str, + "The unique identifier of the Airtable base from which the interface invite will be deleted. Required to specify which base contains the invite.", # noqa: E501 + ], + page_bundle_id: Annotated[ + str, "The ID of the page bundle containing the interface invite to be deleted." + ], + invite_id: Annotated[ + str, "The unique identifier for the invite to be deleted. Must be an outstanding invite." + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-interface-invite'."]: + """Delete an outstanding interface invite in Airtable. + + Use this tool to delete an outstanding invitation for an interface in Airtable. The invite must be outstanding to be deleted.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/interfaces/{pageBundleId}/invites/{inviteId}".format( # noqa: UP032 + baseId=base_identifier, pageBundleId=page_bundle_id, inviteId=invite_id + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:write"])) +async def delete_base_invite( + context: ToolContext, + base_id: Annotated[ + str, "The unique identifier of the Airtable base from which the invite will be deleted." + ], + invite_identifier: Annotated[ + str, "The unique identifier of the outstanding base invite to be deleted." + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-base-invite'."]: + """Delete an outstanding base invite in Airtable. + + Use this tool to delete an outstanding base invite in Airtable when you no longer need it or want to revoke access. The invite must be outstanding to be deleted.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/invites/{inviteId}".format( # noqa: UP032 + baseId=base_id, inviteId=invite_identifier + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases.shares:manage"])) +async def list_base_shares( + context: ToolContext, + base_id: Annotated[str, "The unique identifier for the Airtable base to retrieve shares for."], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-shares'."]: + """Retrieve basic information about Airtable base shares. + + Call this tool to get information on shared Airtable bases, including details like base names and sharing status.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/shares".format(baseId=base_id), # noqa: UP032 + method="GET", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases.shares:manage"])) +async def delete_airtable_share( + context: ToolContext, + airtable_base_id: Annotated[ + str, "The unique identifier for the Airtable base from which the share will be deleted." + ], + share_id_to_delete: Annotated[ + str, + "The unique identifier of the Airtable share to be deleted. Ensure the ID is correct as this action is irreversible.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-share'."]: + """Delete a share from Airtable irreversibly. + + Use this tool to permanently delete a share from Airtable. This action cannot be undone, so ensure that deletion is intended.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/shares/{shareId}".format( # noqa: UP032 + baseId=airtable_base_id, shareId=share_id_to_delete + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["schema.bases:read"])) +async def get_airtable_base_schema( + context: ToolContext, + airtable_base_id: Annotated[ + str, + "The unique identifier for the Airtable base for which you want to retrieve the schema.", + ], + fields_to_include: Annotated[ + list[str] | None, + "Specifies which fields of the tables to include in the schema response. Provide an array of field names as strings.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-base-schema'."]: + """Retrieve the schema of tables in a specified Airtable base. + + Use this tool to get detailed information about the structure of tables within a specific Airtable base by providing the base ID.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/tables".format( # noqa: UP032 + baseId=airtable_base_id + ), + method="GET", + params=remove_none_values({"include": fields_to_include}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:read"])) +async def list_airtable_views( + context: ToolContext, + airtable_base_id: Annotated[ + str, + "The unique identifier of the Airtable base for which views information is to be listed.", + ], + fields_to_include: Annotated[ + list[str] | None, + "Specify which fields to include in the response (e.g., view names, types).", + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-views'."]: + """Lists basic information of Airtable base views. + + Use this tool to obtain a list of basic information about views within a specific Airtable base. This can be useful for understanding the structure and available views in a base.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/views".format(baseId=airtable_base_id), # noqa: UP032 + method="GET", + params=remove_none_values({"include": fields_to_include}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:write"])) +async def delete_airtable_view( + context: ToolContext, + airtable_base_id: Annotated[ + str, + "The unique identifier for the Airtable base from which the view is to be deleted. This is required to locate the specific base within Airtable.", # noqa: E501 + ], + view_id_for_deletion: Annotated[ + str, + "The ID of the view to be deleted from Airtable. Required for specifying which view to remove.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-view'."]: + """Deletes a specified view in Airtable. + + Use this tool to delete a specific view from an Airtable base. Ideal when views are no longer needed and need to be removed from the database.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/views/{viewId}".format( # noqa: UP032 + baseId=airtable_base_id, viewId=view_id_for_deletion + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:read"])) +async def get_base_view_info( + context: ToolContext, + base_identifier: Annotated[ + str, + "The unique identifier of the Airtable base. This ID is required to specify which base's view metadata should be retrieved.", # noqa: E501 + ], + view_id: Annotated[str, "The unique identifier of the view within a specific Airtable base."], + fields_to_include: Annotated[ + list[str] | None, + "Specify an array of field names or properties to include in the metadata response. This allows for filtering the metadata output to only include specified fields.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-view-metadata'."]: + """Retrieve basic information of a base view in Airtable. + + This tool is used to obtain metadata of a specific view within a base on Airtable. It should be called when information about a particular view's configuration or properties is needed.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/bases/{baseId}/views/{viewId}".format( # noqa: UP032 + baseId=base_identifier, viewId=view_id + ), + method="GET", + params=remove_none_values({"include": fields_to_include}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.account:read"])) +async def get_enterprise_info( + context: ToolContext, + enterprise_account_id: Annotated[ + str, "The unique identifier for the enterprise account to retrieve information for." + ], + fields_to_include: Annotated[ + list[str] | None, + "Specify which fields to include in the enterprise account information. Provide a list of field names as strings.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-enterprise'."]: + """Retrieve basic enterprise account information from Airtable.""" + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id + ), + method="GET", + params=remove_none_values({"include": fields_to_include}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.auditLogs:read"])) +async def retrieve_audit_log_events( + context: ToolContext, + enterprise_account_id: Annotated[ + str, + "The unique ID of the enterprise account for which audit log events are being retrieved. This should be a string.", # noqa: E501 + ], + start_time: Annotated[ + str | None, + "Specify the start time for retrieving audit log events. Use ISO 8601 format (e.g., '2023-01-01T00:00:00Z').", # noqa: E501 + ] = None, + end_time: Annotated[ + str | None, + "The ISO 8601 formatted date and time to end retrieving audit log events. Leave empty to continue into the future.", # noqa: E501 + ] = None, + originating_user_id: Annotated[ + str | None, + "The ID of the user who initiated the event. Used to filter events by their originating user.", # noqa: E501 + ] = None, + event_type: Annotated[ + str | None, "Specify the type of event to filter audit logs (e.g., 'login', 'data_change')." + ] = None, + model_id: Annotated[ + str | None, + "The ID of the model to filter audit log events. Use this to specify a particular model if needed.", # noqa: E501 + ] = None, + page_size: Annotated[float | None, "Number of audit log events to retrieve per page."] = None, + sort_order: Annotated[ + str | None, "Specify the order of the audit log results: 'ascending' or 'descending'." + ] = None, + previous_page_cursor: Annotated[ + str | None, "A cursor string to navigate to the previous page of results in paginated data." + ] = None, + next_page_token: Annotated[ + str | None, + "A token to retrieve the next page of results in pagination. Use the token from the previous response if available.", # noqa: E501 + ] = None, + event_category: Annotated[ + str | None, + "Specifies the category of events to filter the audit log. Use to narrow down results to specific types of audit events.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'audit-log-events'."]: + """Retrieve audit log events for an enterprise. + + Use this tool to access audit log events for a specific enterprise. It retrieves all current stored data and continues to update with future events.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/auditLogEvents".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id + ), + method="GET", + params=remove_none_values({ + "startTime": start_time, + "endTime": end_time, + "originatingUserId": originating_user_id, + "eventType": event_type, + "modelId": model_id, + "pageSize": page_size, + "sortOrder": sort_order, + "previous": previous_page_cursor, + "next": next_page_token, + "category": event_category, + }), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.auditLogs:read"])) +async def get_audit_log_requests( + context: ToolContext, + enterprise_account_id: Annotated[ + str, + "The unique ID of the enterprise account for which audit log requests need to be retrieved.", # noqa: E501 + ], + page_size: Annotated[ + float | None, + "Specify the number of audit log requests to return in one call. It helps in paginating large data sets. Typically a number.", # noqa: E501 + ] = None, + pagination_offset: Annotated[ + float | None, + "The starting point for retrieving the audit log requests, used for pagination.", + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-audit-log-requests'."]: + """Retrieve all audit log requests for an enterprise account. + + This tool retrieves all audit log requests for a specified enterprise account. It should be used to access historical logs for auditing purposes.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/auditLogs".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id + ), + method="GET", + params=remove_none_values({"pageSize": page_size, "offset": pagination_offset}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.auditLogs:read"])) +async def retrieve_audit_log_request( + context: ToolContext, + enterprise_account_id: Annotated[ + str, + "The unique identifier for the enterprise account in Airtable. Used to specify which account's audit log is being retrieved.", # noqa: E501 + ], + enterprise_audit_log_task_id: Annotated[ + str, "The ID of the specific audit log task to retrieve from Airtable." + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-audit-log-request'."]: + """Retrieve a specific audit log request by task ID. + + Use this tool to get details about a specific audit log request from Airtable using the provided enterprise account ID and audit log task ID.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/auditLogs/{enterpriseAuditLogTaskId}".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id, + enterpriseAuditLogTaskId=enterprise_audit_log_task_id, + ), + method="GET", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.changeEvents:read"])) +async def retrieve_airtable_change_events( + context: ToolContext, + enterprise_account_id: Annotated[ + str, "Specify the ID of the enterprise account for which to retrieve change events." + ], + start_time: Annotated[ + str | None, "The beginning ISO 8601 timestamp for retrieving change events." + ] = None, + end_time: Annotated[ + str | None, + "The end timestamp to filter change events, formatted as ISO 8601 date-time string.", + ] = None, + page_size: Annotated[ + float | None, + "Specifies the number of change events to return per page. This controls pagination and helps in managing the amount of data received in a single request.", # noqa: E501 + ] = None, + pagination_offset: Annotated[ + str | None, + "Specifies the starting point for retrieving change events, used for pagination.", + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'change-events'."]: + """Fetch Airtable change events for enterprise bases. + + Retrieve change events for enterprise bases from Airtable. This tool should be called when you need to access change events within a 14-day window. Ensure change events are enabled in your admin panel before using.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/changeEvents".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id + ), + method="GET", + params=remove_none_values({ + "startTime": start_time, + "endTime": end_time, + "pageSize": page_size, + "offset": pagination_offset, + }), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.exports:manage"])) +async def get_ediscovery_export_status( + context: ToolContext, + enterprise_account_id: Annotated[ + str, "The unique identifier for the enterprise account to retrieve eDiscovery exports for." + ], + ediscovery_export_state: Annotated[ + str | None, + "The state of the eDiscovery export. Possible values are 'pending', 'processing', 'error', and 'done'.", # noqa: E501 + ] = None, + page_size: Annotated[ + float | None, + "Specifies the number of export results to display per page. Useful for pagination.", + ] = None, + result_offset: Annotated[ + float | None, + "Specifies the starting point within the list of eDiscovery exports for retrieval.", + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-ediscovery-export'."]: + """Retrieve status and results of all eDiscovery exports. + + Use this tool to get the current status and results of eDiscovery exports for a specific enterprise account.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/exports".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id + ), + method="GET", + params=remove_none_values({ + "state": ediscovery_export_state, + "pageSize": page_size, + "offset": result_offset, + }), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.exports:manage"])) +async def fetch_ediscovery_export( + context: ToolContext, + enterprise_account_id: Annotated[ + str, + "The ID of the enterprise account for the eDiscovery export. Must be a valid string identifier.", # noqa: E501 + ], + enterprise_task_id: Annotated[ + str, + "The unique identifier for the specific eDiscovery export task. Use this to specify which task's status and result you want to retrieve.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-ediscovery-export'."]: + """Retrieve the status and result of an eDiscovery export from Airtable. + + Call this tool to obtain the current status and outcome of a specific eDiscovery export identified by enterpriseAccountId and enterpriseTaskId.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/exports/{enterpriseTaskId}".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id, enterpriseTaskId=enterprise_task_id + ), + method="GET", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.user:write"])) +async def delete_users_by_email( + context: ToolContext, + enterprise_account_id: Annotated[ + str, + "The unique identifier for the Airtable enterprise account from which users will be deleted.", # noqa: E501 + ], + user_emails: Annotated[ + list[str] | None, + "An array of user email addresses to delete from the Airtable enterprise account.", + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-users-by-email'."]: + """Delete multiple users from an Airtable enterprise account by email. + + Use this tool to remove multiple users from a specified Airtable enterprise account by their email addresses. This action is useful for managing user access efficiently.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id + ), + method="DELETE", + params=remove_none_values({"email": user_emails}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.user:read"])) +async def get_user_info_by_id_or_email( + context: ToolContext, + enterprise_account_id: Annotated[ + str, + "Specifies the enterprise account ID associated with the user. Use to filter users within a specific enterprise account.", # noqa: E501 + ], + user_email_addresses: Annotated[ + list[str] | None, + "An array of user email addresses to retrieve information for. Each email should be a string.", # noqa: E501 + ] = None, + user_ids: Annotated[ + list[str] | None, + "A list of user IDs for which to retrieve information. Include each ID as a string.", + ] = None, + include_additional_fields: Annotated[ + list[str] | None, + "List of extra user attributes to include in the response. Provide attribute names as strings within an array.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-users-by-id-or-email'."]: + """Retrieve user details by ID or email. + + Use this tool to obtain basic information about both internal and external users by providing their ID or email.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id + ), + method="GET", + params=remove_none_values({ + "email": user_email_addresses, + "id": user_ids, + "include": include_additional_fields, + }), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.user:write"])) +async def delete_enterprise_user( + context: ToolContext, + enterprise_account_id: Annotated[ + str, + "The ID of the enterprise account from which the user will be deleted. This is required to identify the specific account.", # noqa: E501 + ], + user_id: Annotated[ + str, + "The unique identifier for the user to be deleted from the enterprise account. This should be a string value that corresponds to the user's ID in Airtable.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-user-by-id'."]: + """Deletes an enterprise account user by ID. + + Use this tool to delete ELA enterprise account users or managed users by specifying their enterprise account ID and user ID. It should be called when you need to remove a user from an enterprise account in Airtable.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users/{userId}".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id, userId=user_id + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.user:read"])) +async def fetch_user_info( + context: ToolContext, + enterprise_account_id: Annotated[ + str, "The ID of the enterprise account associated with the user to retrieve." + ], + user_id: Annotated[ + str, + "The unique identifier for the user whose information is to be fetched. This ID corresponds to an internal or external user within an enterprise account on Airtable.", # noqa: E501 + ], + include_fields: Annotated[ + list[str] | None, + "Specify additional fields to include in the response. Provide an array of field names as strings.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-user-by-id'."]: + """Fetch user information by ID. + + Use this tool to retrieve basic information about a user, identified by their user ID, within an enterprise account on Airtable. It is suitable for accessing both internal and external user data.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users/{userId}".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id, userId=user_id + ), + method="GET", + params=remove_none_values({"include": include_fields}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.user:write"])) +async def logout_enterprise_user( + context: ToolContext, + enterprise_account_id: Annotated[ + str, "The unique identifier for the enterprise account. Required for logging out the user." + ], + user_id: Annotated[ + str, + "The unique identifier for the user to be logged out. This value is required to terminate their session.", # noqa: E501 + ], + logout_request_body: Annotated[ + dict[str, str] | None, "JSON object containing the logout details for the user session." + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'logout-user'."]: + """Log out an enterprise account user. + + This tool logs out a user from an enterprise account, specifically for ELA and FLA enterprise accounts or managed claiming users. It should be used when there's a need to terminate an active session for such users.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users/{userId}/logout".format( # noqa: UP032 + enterpriseAccountId=enterprise_account_id, userId=user_id + ), + method="POST", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({"requestBody": logout_request_body}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["enterprise.groups:read"])) +async def get_user_group_info( + context: ToolContext, + group_id: Annotated[ + str, + "The unique identifier for the user group you want to retrieve information about. This should be provided as a string.", # noqa: E501 + ], + include_additional_fields: Annotated[ + list[str] | None, + "An array specifying which additional fields to include in the response. Each entry should be a string representing a field name.", # noqa: E501 + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-user-group'."]: + """Retrieve basic information about a specific user group. + + This tool is used to obtain fundamental details regarding a specific user group by providing the group ID. It is useful when you need to access metadata related to user groups in Airtable.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/groups/{groupId}".format(groupId=group_id), # noqa: UP032 + method="GET", + params=remove_none_values({"include": include_additional_fields}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable")) +async def retrieve_user_details( + context: ToolContext, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-user-id-scopes'."]: + """Retrieve user's ID, scopes, and optionally email details. + + Use this tool to get the user's ID and the scopes associated with their OAuth tokens. If the token has the `user.email:read` scope, the user's email will also be provided.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/whoami", + method="GET", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:manage"])) +async def delete_airtable_workspace( + context: ToolContext, + workspace_id: Annotated[ + str, + "The unique identifier for the Airtable workspace you wish to delete. Ensure this ID is correct to avoid unintended deletions.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-workspace'."]: + """Deletes a specified workspace in Airtable. + + Use this tool to delete a workspace in Airtable. Ensure you have checked for any actively used bases before deleting, as access will be lost unless transferred. Deleted workspaces can be restored within the billing plan retention period.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/workspaces/{workspaceId}".format( # noqa: UP032 + workspaceId=workspace_id + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:read"])) +async def get_workspace_collaborators( + context: ToolContext, + workspace_id: Annotated[ + str, "Unique identifier for the Airtable workspace to fetch collaborators from." + ], + fields_to_include: Annotated[ + list[str] | None, + "List of specific fields to include in the response, such as 'email' or 'role'.", + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-workspace-collaborators'."]: + """Fetches basic information on workspace collaborators and invites. + + This tool retrieves basic information about collaborators in an Airtable workspace, excluding deleted ones and including only outstanding invites.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/workspaces/{workspaceId}".format( # noqa: UP032 + workspaceId=workspace_id + ), + method="GET", + params=remove_none_values({"include": fields_to_include}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:write"])) +async def remove_workspace_collaborator( + context: ToolContext, + workspace_id: Annotated[ + str, "The unique identifier of the workspace from which the collaborator will be removed." + ], + user_or_group_id: Annotated[ + str, + "The ID of the user or group to remove from the workspace. It must be a valid string identifier.", # noqa: E501 + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-workspace-collaborator'."]: + """Remove a collaborator from a workspace. + + Call this tool to delete a collaborator from an Airtable workspace, identified by workspace and user or group IDs.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/workspaces/{workspaceId}/collaborators/{userOrGroupId}".format( # noqa: UP032 + workspaceId=workspace_id, userOrGroupId=user_or_group_id + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["workspacesAndBases:write"])) +async def delete_workspace_invite( + context: ToolContext, + workspace_id: Annotated[ + str, + "The ID of the workspace from which the invite will be deleted. It must be a valid string.", + ], + invite_id: Annotated[str, "The ID of the invite to be deleted from the workspace."], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-workspace-invite'."]: + """Deletes a specified workspace invite in Airtable. + + Use this tool to delete an existing workspace invite in Airtable when you have the workspace and invite IDs.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/meta/workspaces/{workspaceId}/invites/{inviteId}".format( # noqa: UP032 + workspaceId=workspace_id, inviteId=invite_id + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["data.records:write"])) +async def delete_multiple_records_airtable( + context: ToolContext, + base_identifier: Annotated[ + str, + "The unique identifier of the Airtable base where records will be deleted. This must be provided to specify the target database.", # noqa: E501 + ], + table_id_or_name: Annotated[ + str, "The unique ID or name of the Airtable table from which records should be deleted." + ], + record_ids_to_delete: Annotated[ + list[str] | None, "An array of record IDs to be deleted from the specified Airtable table." + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-multiple-records'."]: + """Deletes multiple records from an Airtable table. + + Use this tool to delete multiple records from an Airtable table by providing an array of record IDs. Useful for batch deletion of data entries in specified Airtable bases and tables.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/{baseId}/{tableIdOrName}".format( # noqa: UP032 + baseId=base_identifier, tableIdOrName=table_id_or_name + ), + method="DELETE", + params=remove_none_values({"records": record_ids_to_delete}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["data.records:write"])) +async def delete_airtable_record( + context: ToolContext, + airtable_base_id: Annotated[ + str, "The unique identifier for the Airtable base from which the record will be deleted." + ], + table_id_or_name: Annotated[ + str, "The ID or name of the table from which to delete the record." + ], + record_id_to_delete: Annotated[ + str, "The ID of the record to be deleted from the specified table in Airtable." + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-record'."]: + """Delete a specific record from an Airtable base and table. + + This tool deletes a single record from a specified Airtable base and table. Use it when you need to remove entry data permanently.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}".format( # noqa: UP032 + baseId=airtable_base_id, tableIdOrName=table_id_or_name, recordId=record_id_to_delete + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["data.records:read"])) +async def retrieve_airtable_record( + context: ToolContext, + airtable_base_id: Annotated[ + str, "The unique identifier of the Airtable base from which to retrieve the record." + ], + table_identifier_or_name: Annotated[ + str, + "The ID or name of the table from which to retrieve the record. This identifies the specific table within the base.", # noqa: E501 + ], + record_id: Annotated[ + str, + "The unique identifier for the record to be retrieved from Airtable. This should be the record ID within the specified base and table.", # noqa: E501 + ], + cell_format: Annotated[ + str | None, + "Specify the cell format for the returned data. Options include 'json' or 'string'.", + ] = None, + return_fields_by_field_id: Annotated[ + bool | None, "Set to true to return fields using field IDs instead of names." + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'get-record'."]: + """Retrieve a single record from Airtable by record ID. + + This tool retrieves a single record from a specified Airtable base and table using the record ID. Empty fields in the record are not returned. If the record isn't found in the specified table, a base-wide search is conducted.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}".format( # noqa: UP032 + baseId=airtable_base_id, tableIdOrName=table_identifier_or_name, recordId=record_id + ), + method="GET", + params=remove_none_values({ + "cellFormat": cell_format, + "returnFieldsByFieldId": return_fields_by_field_id, + }), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["data.recordComments:read"])) +async def list_record_comments( + context: ToolContext, + base_id: Annotated[ + str, + "The unique identifier for the Airtable base containing the table and record of interest.", + ], + table_id_or_name: Annotated[ + str, "The ID or name of the table containing the record whose comments you want to list." + ], + record_id: Annotated[ + str, "The unique identifier of the record for which comments need to be fetched." + ], + comments_per_page: Annotated[ + float | None, + "The maximum number of comments to retrieve per page. Determines page size for pagination.", + ] = None, + comments_page_offset: Annotated[ + str | None, + "Used to specify the starting point in a list of comments for pagination purposes.", + ] = None, +) -> Annotated[dict[str, Any], "Response from the API endpoint 'list-comments'."]: + """Retrieve comments for a specific record in a table. + + Use this tool to obtain a list of comments related to a specific record, sorted from newest to oldest. Note that comments replying to another comment may not have the parent comment in the same set of results.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}/comments".format( # noqa: UP032 + baseId=base_id, tableIdOrName=table_id_or_name, recordId=record_id + ), + method="GET", + params=remove_none_values({"pageSize": comments_per_page, "offset": comments_page_offset}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} + + +@tool(requires_auth=OAuth2(id="arcade-airtable", scopes=["data.recordComments:write"])) +async def delete_comment_from_record( + context: ToolContext, + base_identifier: Annotated[ + str, "The unique identifier for the Airtable base from which the comment will be deleted." + ], + table_id_or_name: Annotated[ + str, + "The unique ID or name of the table where the record containing the comment exists. Ensure it matches the table's exact name or ID in Airtable.", # noqa: E501 + ], + record_id: Annotated[ + str, "The unique identifier for the record from which the comment will be deleted." + ], + comment_id_to_delete: Annotated[ + str, "The unique identifier of the comment to be deleted from the record in Airtable." + ], +) -> Annotated[dict[str, Any], "Response from the API endpoint 'delete-comment'."]: + """Delete a comment from a record in Airtable. + + Use this tool to delete a specific comment from a record in Airtable. Non-admin users can only delete comments they have created, while Enterprise Admins can delete any comment.""" # noqa: E501 + response = await make_request( + url="https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}/comments/{rowCommentId}".format( # noqa: UP032 + baseId=base_identifier, + tableIdOrName=table_id_or_name, + recordId=record_id, + rowCommentId=comment_id_to_delete, + ), + method="DELETE", + params=remove_none_values({}), + headers=remove_none_values({ + "Authorization": "Bearer {authorization}".format( # noqa: UP032 + authorization=context.get_auth_token_or_empty() + ) + }), + data=remove_none_values({}), + ) + try: + return {"response_json": response.json()} + except Exception: + return {"response_text": response.text} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableBase.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableBase.json new file mode 100644 index 00000000..a9843292 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableBase.json @@ -0,0 +1,106 @@ +{ + "name": "DeleteAirtableBase", + "fully_qualified_name": "AirtableApi.DeleteAirtableBase@0.1.0", + "description": "Delete a specified Airtable base.\n\nUse this tool to delete an Airtable base when it is no longer needed. Deleted bases can be restored by workspace owners from the Trash UI, subject to the workspace's billing plan retention period.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier of the Airtable base to delete. It should be a string.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-base'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableBlockInstallation.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableBlockInstallation.json new file mode 100644 index 00000000..8cba9338 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableBlockInstallation.json @@ -0,0 +1,139 @@ +{ + "name": "DeleteAirtableBlockInstallation", + "fully_qualified_name": "AirtableApi.DeleteAirtableBlockInstallation@0.1.0", + "description": "Delete a block installation from an Airtable base.\n\nUse this tool to delete a block installation from an Airtable base. The deleted block installation can be recovered if needed.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier for the Airtable base from which the block installation will be deleted. This ID specifies the particular base in question.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "block_installation_id", + "required": true, + "description": "The unique identifier of the block installation to delete. This ID is required to specify which block installation to remove.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "blockInstallationId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-block-installation'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/blockInstallations/{blockInstallationId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "blockInstallationId", + "tool_parameter_name": "block_installation_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableRecord.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableRecord.json new file mode 100644 index 00000000..dbad987e --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableRecord.json @@ -0,0 +1,172 @@ +{ + "name": "DeleteAirtableRecord", + "fully_qualified_name": "AirtableApi.DeleteAirtableRecord@0.1.0", + "description": "Delete a specific record from an Airtable base and table.\n\nThis tool deletes a single record from a specified Airtable base and table. Use it when you need to remove entry data permanently.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier for the Airtable base from which the record will be deleted.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "table_id_or_name", + "required": true, + "description": "The ID or name of the table from which to delete the record.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "tableIdOrName" + }, + { + "name": "record_id_to_delete", + "required": true, + "description": "The ID of the record to be deleted from the specified table in Airtable.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "recordId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-record'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "data.records:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "tableIdOrName", + "tool_parameter_name": "table_id_or_name", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "recordId", + "tool_parameter_name": "record_id_to_delete", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableShare.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableShare.json new file mode 100644 index 00000000..920dff72 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableShare.json @@ -0,0 +1,139 @@ +{ + "name": "DeleteAirtableShare", + "fully_qualified_name": "AirtableApi.DeleteAirtableShare@0.1.0", + "description": "Delete a share from Airtable irreversibly.\n\nUse this tool to permanently delete a share from Airtable. This action cannot be undone, so ensure that deletion is intended.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier for the Airtable base from which the share will be deleted.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "share_id_to_delete", + "required": true, + "description": "The unique identifier of the Airtable share to be deleted. Ensure the ID is correct as this action is irreversible.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "shareId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-share'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases.shares:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/shares/{shareId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "shareId", + "tool_parameter_name": "share_id_to_delete", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableView.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableView.json new file mode 100644 index 00000000..b69f2749 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableView.json @@ -0,0 +1,139 @@ +{ + "name": "DeleteAirtableView", + "fully_qualified_name": "AirtableApi.DeleteAirtableView@0.1.0", + "description": "Deletes a specified view in Airtable.\n\nUse this tool to delete a specific view from an Airtable base. Ideal when views are no longer needed and need to be removed from the database.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier for the Airtable base from which the view is to be deleted. This is required to locate the specific base within Airtable.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "view_id_for_deletion", + "required": true, + "description": "The ID of the view to be deleted from Airtable. Required for specifying which view to remove.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "viewId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-view'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/views/{viewId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "viewId", + "tool_parameter_name": "view_id_for_deletion", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableWebhook.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableWebhook.json new file mode 100644 index 00000000..bbe4e01f --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableWebhook.json @@ -0,0 +1,139 @@ +{ + "name": "DeleteAirtableWebhook", + "fully_qualified_name": "AirtableApi.DeleteAirtableWebhook@0.1.0", + "description": "Deletes an Airtable webhook.\n\nUse this tool to delete an existing webhook in Airtable. Creator level permissions are required.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier for the Airtable base. Required to specify which base contains the webhook to delete.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "webhook_id", + "required": true, + "description": "The unique identifier for the webhook you wish to delete. This is required.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "webhookId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-a-webhook'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "webhook:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/bases/{baseId}/webhooks/{webhookId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "webhookId", + "tool_parameter_name": "webhook_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableWorkspace.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableWorkspace.json new file mode 100644 index 00000000..8bf6dc06 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteAirtableWorkspace.json @@ -0,0 +1,106 @@ +{ + "name": "DeleteAirtableWorkspace", + "fully_qualified_name": "AirtableApi.DeleteAirtableWorkspace@0.1.0", + "description": "Deletes a specified workspace in Airtable.\n\nUse this tool to delete a workspace in Airtable. Ensure you have checked for any actively used bases before deleting, as access will be lost unless transferred. Deleted workspaces can be restored within the billing plan retention period.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "workspace_id", + "required": true, + "description": "The unique identifier for the Airtable workspace you wish to delete. Ensure this ID is correct to avoid unintended deletions.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "workspaceId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-workspace'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/workspaces/{workspaceId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "workspaceId", + "tool_parameter_name": "workspace_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteBaseInvite.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteBaseInvite.json new file mode 100644 index 00000000..ba466df3 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteBaseInvite.json @@ -0,0 +1,139 @@ +{ + "name": "DeleteBaseInvite", + "fully_qualified_name": "AirtableApi.DeleteBaseInvite@0.1.0", + "description": "Delete an outstanding base invite in Airtable.\n\nUse this tool to delete an outstanding base invite in Airtable when you no longer need it or want to revoke access. The invite must be outstanding to be deleted.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_id", + "required": true, + "description": "The unique identifier of the Airtable base from which the invite will be deleted.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "invite_identifier", + "required": true, + "description": "The unique identifier of the outstanding base invite to be deleted.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "inviteId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-base-invite'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/invites/{inviteId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "inviteId", + "tool_parameter_name": "invite_identifier", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteCommentFromRecord.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteCommentFromRecord.json new file mode 100644 index 00000000..b9718cd4 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteCommentFromRecord.json @@ -0,0 +1,205 @@ +{ + "name": "DeleteCommentFromRecord", + "fully_qualified_name": "AirtableApi.DeleteCommentFromRecord@0.1.0", + "description": "Delete a comment from a record in Airtable.\n\nUse this tool to delete a specific comment from a record in Airtable. Non-admin users can only delete comments they have created, while Enterprise Admins can delete any comment.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_identifier", + "required": true, + "description": "The unique identifier for the Airtable base from which the comment will be deleted.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "table_id_or_name", + "required": true, + "description": "The unique ID or name of the table where the record containing the comment exists. Ensure it matches the table's exact name or ID in Airtable.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "tableIdOrName" + }, + { + "name": "record_id", + "required": true, + "description": "The unique identifier for the record from which the comment will be deleted.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "recordId" + }, + { + "name": "comment_id_to_delete", + "required": true, + "description": "The unique identifier of the comment to be deleted from the record in Airtable.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "rowCommentId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-comment'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "data.recordComments:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}/comments/{rowCommentId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "base_identifier", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "tableIdOrName", + "tool_parameter_name": "table_id_or_name", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "recordId", + "tool_parameter_name": "record_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "rowCommentId", + "tool_parameter_name": "comment_id_to_delete", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteEnterpriseUser.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteEnterpriseUser.json new file mode 100644 index 00000000..9b6f40e1 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteEnterpriseUser.json @@ -0,0 +1,139 @@ +{ + "name": "DeleteEnterpriseUser", + "fully_qualified_name": "AirtableApi.DeleteEnterpriseUser@0.1.0", + "description": "Deletes an enterprise account user by ID.\n\nUse this tool to delete ELA enterprise account users or managed users by specifying their enterprise account ID and user ID. It should be called when you need to remove a user from an enterprise account in Airtable.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "The ID of the enterprise account from which the user will be deleted. This is required to identify the specific account.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "user_id", + "required": true, + "description": "The unique identifier for the user to be deleted from the enterprise account. This should be a string value that corresponds to the user's ID in Airtable.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "userId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-user-by-id'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.user:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users/{userId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "userId", + "tool_parameter_name": "user_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteInterfaceCollaborator.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteInterfaceCollaborator.json new file mode 100644 index 00000000..e6a4c133 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteInterfaceCollaborator.json @@ -0,0 +1,172 @@ +{ + "name": "DeleteInterfaceCollaborator", + "fully_qualified_name": "AirtableApi.DeleteInterfaceCollaborator@0.1.0", + "description": "Delete a collaborator from an Airtable interface.\n\nThis tool removes an interface collaborator in Airtable. It requires base collaborator access to remove others but can be used to remove oneself, even with interface-only access.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_id", + "required": true, + "description": "The unique identifier of the Airtable base from which the collaborator will be removed. This ID is essential to specify the correct base for the operation.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "page_bundle_identifier", + "required": true, + "description": "The unique identifier for the page bundle from which to delete the collaborator.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "pageBundleId" + }, + { + "name": "user_or_group_id", + "required": true, + "description": "The unique identifier of the user or group to be removed from the interface. This ID specifies which collaborator is to be deleted.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "userOrGroupId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-interface-collaborator'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/interfaces/{pageBundleId}/collaborators/{userOrGroupId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "pageBundleId", + "tool_parameter_name": "page_bundle_identifier", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "userOrGroupId", + "tool_parameter_name": "user_or_group_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteInterfaceInvite.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteInterfaceInvite.json new file mode 100644 index 00000000..6c448c44 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteInterfaceInvite.json @@ -0,0 +1,172 @@ +{ + "name": "DeleteInterfaceInvite", + "fully_qualified_name": "AirtableApi.DeleteInterfaceInvite@0.1.0", + "description": "Delete an outstanding interface invite in Airtable.\n\nUse this tool to delete an outstanding invitation for an interface in Airtable. The invite must be outstanding to be deleted.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_identifier", + "required": true, + "description": "The unique identifier of the Airtable base from which the interface invite will be deleted. Required to specify which base contains the invite.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "page_bundle_id", + "required": true, + "description": "The ID of the page bundle containing the interface invite to be deleted.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "pageBundleId" + }, + { + "name": "invite_id", + "required": true, + "description": "The unique identifier for the invite to be deleted. Must be an outstanding invite.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "inviteId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-interface-invite'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/interfaces/{pageBundleId}/invites/{inviteId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "base_identifier", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "pageBundleId", + "tool_parameter_name": "page_bundle_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "inviteId", + "tool_parameter_name": "invite_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteMultipleRecordsAirtable.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteMultipleRecordsAirtable.json new file mode 100644 index 00000000..ecf71e9c --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteMultipleRecordsAirtable.json @@ -0,0 +1,172 @@ +{ + "name": "DeleteMultipleRecordsAirtable", + "fully_qualified_name": "AirtableApi.DeleteMultipleRecordsAirtable@0.1.0", + "description": "Deletes multiple records from an Airtable table.\n\nUse this tool to delete multiple records from an Airtable table by providing an array of record IDs. Useful for batch deletion of data entries in specified Airtable bases and tables.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_identifier", + "required": true, + "description": "The unique identifier of the Airtable base where records will be deleted. This must be provided to specify the target database.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "table_id_or_name", + "required": true, + "description": "The unique ID or name of the Airtable table from which records should be deleted.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "tableIdOrName" + }, + { + "name": "record_ids_to_delete", + "required": false, + "description": "An array of record IDs to be deleted from the specified Airtable table.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "records" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-multiple-records'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "data.records:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/{baseId}/{tableIdOrName}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "records", + "tool_parameter_name": "record_ids_to_delete", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "baseId", + "tool_parameter_name": "base_identifier", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "tableIdOrName", + "tool_parameter_name": "table_id_or_name", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteScimGroup.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteScimGroup.json new file mode 100644 index 00000000..3c68031f --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteScimGroup.json @@ -0,0 +1,106 @@ +{ + "name": "DeleteScimGroup", + "fully_qualified_name": "AirtableApi.DeleteScimGroup@0.1.0", + "description": "Delete a specific SCIM group by ID.\n\nUse this tool to delete a SCIM group specified by its group ID. Ideal for removing outdated or unnecessary groups.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "scim_group_id", + "required": true, + "description": "The unique identifier for the SCIM group to be deleted. This ID specifies which group you intend to delete and must match an existing group.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "groupId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-scim-group'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.scim.usersAndGroups:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/scim/v2/Groups/{groupId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "groupId", + "tool_parameter_name": "scim_group_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteScimUser.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteScimUser.json new file mode 100644 index 00000000..9f99830c --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteScimUser.json @@ -0,0 +1,106 @@ +{ + "name": "DeleteScimUser", + "fully_qualified_name": "AirtableApi.DeleteScimUser@0.1.0", + "description": "Delete a single SCIM user from Airtable.\n\nUse this tool to delete a SCIM user from Airtable, except for the admin owning the authentication token or the sole owner of a workspace with multiple collaborators.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "user_id", + "required": true, + "description": "The unique identifier of the SCIM user to be deleted. Ensure it is not the admin using the auth token or the sole owner of a multi-collaborator workspace.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "userId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-scim-user'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.scim.usersAndGroups:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/scim/v2/Users/{userId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "userId", + "tool_parameter_name": "user_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteUsersByEmail.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteUsersByEmail.json new file mode 100644 index 00000000..56c0704c --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteUsersByEmail.json @@ -0,0 +1,139 @@ +{ + "name": "DeleteUsersByEmail", + "fully_qualified_name": "AirtableApi.DeleteUsersByEmail@0.1.0", + "description": "Delete multiple users from an Airtable enterprise account by email.\n\nUse this tool to remove multiple users from a specified Airtable enterprise account by their email addresses. This action is useful for managing user access efficiently.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "The unique identifier for the Airtable enterprise account from which users will be deleted.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "user_emails", + "required": false, + "description": "An array of user email addresses to delete from the Airtable enterprise account.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "email" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-users-by-email'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.user:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "email", + "tool_parameter_name": "user_emails", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteWorkspaceInvite.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteWorkspaceInvite.json new file mode 100644 index 00000000..e3bf6ee0 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/DeleteWorkspaceInvite.json @@ -0,0 +1,139 @@ +{ + "name": "DeleteWorkspaceInvite", + "fully_qualified_name": "AirtableApi.DeleteWorkspaceInvite@0.1.0", + "description": "Deletes a specified workspace invite in Airtable.\n\nUse this tool to delete an existing workspace invite in Airtable when you have the workspace and invite IDs.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "workspace_id", + "required": true, + "description": "The ID of the workspace from which the invite will be deleted. It must be a valid string.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "workspaceId" + }, + { + "name": "invite_id", + "required": true, + "description": "The ID of the invite to be deleted from the workspace.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "inviteId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-workspace-invite'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/workspaces/{workspaceId}/invites/{inviteId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "workspaceId", + "tool_parameter_name": "workspace_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "inviteId", + "tool_parameter_name": "invite_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ExtendWebhookExpiration.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ExtendWebhookExpiration.json new file mode 100644 index 00000000..ac394c97 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ExtendWebhookExpiration.json @@ -0,0 +1,172 @@ +{ + "name": "ExtendWebhookExpiration", + "fully_qualified_name": "AirtableApi.ExtendWebhookExpiration@0.1.0", + "description": "Extend the expiration time of an Airtable webhook.\n\nUse this tool to extend the life of an active Airtable webhook by 7 days from the refresh time. Requires creator level permissions.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier for the Airtable base. Required to specify which base contains the webhook.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "webhook_identifier", + "required": true, + "description": "The unique identifier for the webhook to be refreshed. This is required to specify which webhook's expiration time you wish to extend.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "webhookId" + }, + { + "name": "webhook_refresh_request", + "required": false, + "description": "A JSON object containing specifics for the webhook refresh request. This includes relevant details needed for processing the expiration extension.", + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "requestBody" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'refresh-a-webhook'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "webhook:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/bases/{baseId}/webhooks/{webhookId}/refresh", + "http_method": "POST", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "webhookId", + "tool_parameter_name": "webhook_identifier", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "requestBody", + "tool_parameter_name": "webhook_refresh_request", + "description": "", + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "body", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/FetchEdiscoveryExport.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/FetchEdiscoveryExport.json new file mode 100644 index 00000000..ccb20d3c --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/FetchEdiscoveryExport.json @@ -0,0 +1,139 @@ +{ + "name": "FetchEdiscoveryExport", + "fully_qualified_name": "AirtableApi.FetchEdiscoveryExport@0.1.0", + "description": "Retrieve the status and result of an eDiscovery export from Airtable.\n\nCall this tool to obtain the current status and outcome of a specific eDiscovery export identified by enterpriseAccountId and enterpriseTaskId.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "The ID of the enterprise account for the eDiscovery export. Must be a valid string identifier.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "enterprise_task_id", + "required": true, + "description": "The unique identifier for the specific eDiscovery export task. Use this to specify which task's status and result you want to retrieve.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseTaskId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-ediscovery-export'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.exports:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/exports/{enterpriseTaskId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "enterpriseTaskId", + "tool_parameter_name": "enterprise_task_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/FetchScimUser.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/FetchScimUser.json new file mode 100644 index 00000000..276049f8 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/FetchScimUser.json @@ -0,0 +1,106 @@ +{ + "name": "FetchScimUser", + "fully_qualified_name": "AirtableApi.FetchScimUser@0.1.0", + "description": "Fetches a SCIM User object by user ID.\n\nCall this tool to get detailed information about a specific user in the SCIM format by providing the user's ID.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "user_id", + "required": true, + "description": "The unique identifier of the SCIM user to be retrieved. Provide the user ID to fetch the user's SCIM object.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "userId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-scim-user'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.scim.usersAndGroups:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/scim/v2/Users/{userId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "userId", + "tool_parameter_name": "user_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/FetchUserInfo.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/FetchUserInfo.json new file mode 100644 index 00000000..7a6f525f --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/FetchUserInfo.json @@ -0,0 +1,172 @@ +{ + "name": "FetchUserInfo", + "fully_qualified_name": "AirtableApi.FetchUserInfo@0.1.0", + "description": "Fetch user information by ID.\n\nUse this tool to retrieve basic information about a user, identified by their user ID, within an enterprise account on Airtable. It is suitable for accessing both internal and external user data.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "The ID of the enterprise account associated with the user to retrieve.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "user_id", + "required": true, + "description": "The unique identifier for the user whose information is to be fetched. This ID corresponds to an internal or external user within an enterprise account on Airtable.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "userId" + }, + { + "name": "include_fields", + "required": false, + "description": "Specify additional fields to include in the response. Provide an array of field names as strings.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "include" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-user-by-id'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.user:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users/{userId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "include", + "tool_parameter_name": "include_fields", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "userId", + "tool_parameter_name": "user_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAccessibleAirtableBases.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAccessibleAirtableBases.json new file mode 100644 index 00000000..a802ebbd --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAccessibleAirtableBases.json @@ -0,0 +1,106 @@ +{ + "name": "GetAccessibleAirtableBases", + "fully_qualified_name": "AirtableApi.GetAccessibleAirtableBases@0.1.0", + "description": "Retrieve the list of accessible Airtable bases.\n\nUse this tool to get a list of the bases that the provided token can access. This is useful for managing or displaying base information in Airtable.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "pagination_offset", + "required": false, + "description": "The offset token for paginating through results. Use it to retrieve the next set of Airtable bases.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "offset" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-bases'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "schema.bases:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "offset", + "tool_parameter_name": "pagination_offset", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAirtableBaseSchema.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAirtableBaseSchema.json new file mode 100644 index 00000000..566f3d3c --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAirtableBaseSchema.json @@ -0,0 +1,139 @@ +{ + "name": "GetAirtableBaseSchema", + "fully_qualified_name": "AirtableApi.GetAirtableBaseSchema@0.1.0", + "description": "Retrieve the schema of tables in a specified Airtable base.\n\nUse this tool to get detailed information about the structure of tables within a specific Airtable base by providing the base ID.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier for the Airtable base for which you want to retrieve the schema.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "fields_to_include", + "required": false, + "description": "Specifies which fields of the tables to include in the schema response. Provide an array of field names as strings.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "include" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-base-schema'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "schema.bases:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/tables", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "include", + "tool_parameter_name": "fields_to_include", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAirtableInterfaceInfo.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAirtableInterfaceInfo.json new file mode 100644 index 00000000..161969dd --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAirtableInterfaceInfo.json @@ -0,0 +1,172 @@ +{ + "name": "GetAirtableInterfaceInfo", + "fully_qualified_name": "AirtableApi.GetAirtableInterfaceInfo@0.1.0", + "description": "Retrieve general information about an Airtable interface.\n\nThis tool retrieves general information about a specified Airtable interface, excluding deleted collaborators and including outstanding invites.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier for the Airtable base to retrieve interface information from.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "interface_id", + "required": true, + "description": "The ID of the Airtable interface to retrieve information for, found in the interfaces object.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "pageBundleId" + }, + { + "name": "include_fields", + "required": false, + "description": "A list of fields to include in the response. Provide field names as strings.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "include" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-interface'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/interfaces/{pageBundleId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "include", + "tool_parameter_name": "include_fields", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "pageBundleId", + "tool_parameter_name": "interface_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAuditLogRequests.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAuditLogRequests.json new file mode 100644 index 00000000..2858178d --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetAuditLogRequests.json @@ -0,0 +1,172 @@ +{ + "name": "GetAuditLogRequests", + "fully_qualified_name": "AirtableApi.GetAuditLogRequests@0.1.0", + "description": "Retrieve all audit log requests for an enterprise account.\n\nThis tool retrieves all audit log requests for a specified enterprise account. It should be used to access historical logs for auditing purposes.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "The unique ID of the enterprise account for which audit log requests need to be retrieved.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "page_size", + "required": false, + "description": "Specify the number of audit log requests to return in one call. It helps in paginating large data sets. Typically a number.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "pageSize" + }, + { + "name": "pagination_offset", + "required": false, + "description": "The starting point for retrieving the audit log requests, used for pagination.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "offset" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-audit-log-requests'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.auditLogs:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/auditLogs", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "pageSize", + "tool_parameter_name": "page_size", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "offset", + "tool_parameter_name": "pagination_offset", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetBaseCollaborators.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetBaseCollaborators.json new file mode 100644 index 00000000..2978b134 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetBaseCollaborators.json @@ -0,0 +1,139 @@ +{ + "name": "GetBaseCollaborators", + "fully_qualified_name": "AirtableApi.GetBaseCollaborators@0.1.0", + "description": "Retrieve basic information about base collaborators.\n\nUse this tool to get details on collaborators associated with a specific base, excluding any deleted collaborators and including outstanding invites.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_id", + "required": true, + "description": "The unique identifier for the Airtable base from which you want to retrieve collaborator information.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "fields_to_include", + "required": false, + "description": "A list of fields to return for each collaborator. Example: ['name', 'email'].", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "include" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-base-collaborators'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "include", + "tool_parameter_name": "fields_to_include", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "baseId", + "tool_parameter_name": "base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetBaseViewInfo.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetBaseViewInfo.json new file mode 100644 index 00000000..57725efb --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetBaseViewInfo.json @@ -0,0 +1,172 @@ +{ + "name": "GetBaseViewInfo", + "fully_qualified_name": "AirtableApi.GetBaseViewInfo@0.1.0", + "description": "Retrieve basic information of a base view in Airtable.\n\nThis tool is used to obtain metadata of a specific view within a base on Airtable. It should be called when information about a particular view's configuration or properties is needed.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_identifier", + "required": true, + "description": "The unique identifier of the Airtable base. This ID is required to specify which base's view metadata should be retrieved.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "view_id", + "required": true, + "description": "The unique identifier of the view within a specific Airtable base.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "viewId" + }, + { + "name": "fields_to_include", + "required": false, + "description": "Specify an array of field names or properties to include in the metadata response. This allows for filtering the metadata output to only include specified fields.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "include" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-view-metadata'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/views/{viewId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "include", + "tool_parameter_name": "fields_to_include", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "baseId", + "tool_parameter_name": "base_identifier", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "viewId", + "tool_parameter_name": "view_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetEdiscoveryExportStatus.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetEdiscoveryExportStatus.json new file mode 100644 index 00000000..48e01a83 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetEdiscoveryExportStatus.json @@ -0,0 +1,215 @@ +{ + "name": "GetEdiscoveryExportStatus", + "fully_qualified_name": "AirtableApi.GetEdiscoveryExportStatus@0.1.0", + "description": "Retrieve status and results of all eDiscovery exports.\n\nUse this tool to get the current status and results of eDiscovery exports for a specific enterprise account.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "The unique identifier for the enterprise account to retrieve eDiscovery exports for.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "ediscovery_export_state", + "required": false, + "description": "The state of the eDiscovery export. Possible values are 'pending', 'processing', 'error', and 'done'.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": [ + "pending", + "processing", + "error", + "done" + ], + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "state" + }, + { + "name": "page_size", + "required": false, + "description": "Specifies the number of export results to display per page. Useful for pagination.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "pageSize" + }, + { + "name": "result_offset", + "required": false, + "description": "Specifies the starting point within the list of eDiscovery exports for retrieval.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "offset" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-ediscovery-export'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.exports:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/exports", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "state", + "tool_parameter_name": "ediscovery_export_state", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": [ + "pending", + "processing", + "error", + "done" + ], + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "pageSize", + "tool_parameter_name": "page_size", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "offset", + "tool_parameter_name": "result_offset", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetEnterpriseInfo.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetEnterpriseInfo.json new file mode 100644 index 00000000..895dc458 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetEnterpriseInfo.json @@ -0,0 +1,139 @@ +{ + "name": "GetEnterpriseInfo", + "fully_qualified_name": "AirtableApi.GetEnterpriseInfo@0.1.0", + "description": "Retrieve basic enterprise account information from Airtable.\n\n", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "The unique identifier for the enterprise account to retrieve information for.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "fields_to_include", + "required": false, + "description": "Specify which fields to include in the enterprise account information. Provide a list of field names as strings.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "include" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-enterprise'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.account:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "include", + "tool_parameter_name": "fields_to_include", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetScimGroupInfo.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetScimGroupInfo.json new file mode 100644 index 00000000..e2ba7c36 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetScimGroupInfo.json @@ -0,0 +1,106 @@ +{ + "name": "GetScimGroupInfo", + "fully_qualified_name": "AirtableApi.GetScimGroupInfo@0.1.0", + "description": "Retrieve details of a SCIM Group object by ID.\n\nUse this tool to get detailed information about a SCIM Group object using its unique ID. It is useful when you need group metadata and attributes compliant with SCIM standards.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "scim_group_id", + "required": true, + "description": "The unique ID of the SCIM Group to retrieve details for.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "groupId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-scim-group'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.scim.usersAndGroups:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/scim/v2/Groups/{groupId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "groupId", + "tool_parameter_name": "scim_group_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetUserGroupInfo.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetUserGroupInfo.json new file mode 100644 index 00000000..395c3790 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetUserGroupInfo.json @@ -0,0 +1,139 @@ +{ + "name": "GetUserGroupInfo", + "fully_qualified_name": "AirtableApi.GetUserGroupInfo@0.1.0", + "description": "Retrieve basic information about a specific user group.\n\nThis tool is used to obtain fundamental details regarding a specific user group by providing the group ID. It is useful when you need to access metadata related to user groups in Airtable.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "group_id", + "required": true, + "description": "The unique identifier for the user group you want to retrieve information about. This should be provided as a string.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "groupId" + }, + { + "name": "include_additional_fields", + "required": false, + "description": "An array specifying which additional fields to include in the response. Each entry should be a string representing a field name.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "include" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-user-group'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.groups:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/groups/{groupId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "include", + "tool_parameter_name": "include_additional_fields", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "groupId", + "tool_parameter_name": "group_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetUserInfoByIdOrEmail.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetUserInfoByIdOrEmail.json new file mode 100644 index 00000000..636e623c --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetUserInfoByIdOrEmail.json @@ -0,0 +1,205 @@ +{ + "name": "GetUserInfoByIdOrEmail", + "fully_qualified_name": "AirtableApi.GetUserInfoByIdOrEmail@0.1.0", + "description": "Retrieve user details by ID or email.\n\nUse this tool to obtain basic information about both internal and external users by providing their ID or email.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "Specifies the enterprise account ID associated with the user. Use to filter users within a specific enterprise account.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "user_email_addresses", + "required": false, + "description": "An array of user email addresses to retrieve information for. Each email should be a string.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "email" + }, + { + "name": "user_ids", + "required": false, + "description": "A list of user IDs for which to retrieve information. Include each ID as a string.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "id" + }, + { + "name": "include_additional_fields", + "required": false, + "description": "List of extra user attributes to include in the response. Provide attribute names as strings within an array.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "include" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-users-by-id-or-email'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.user:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "email", + "tool_parameter_name": "user_email_addresses", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "id", + "tool_parameter_name": "user_ids", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "include", + "tool_parameter_name": "include_additional_fields", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetWorkspaceCollaborators.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetWorkspaceCollaborators.json new file mode 100644 index 00000000..d2081f65 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/GetWorkspaceCollaborators.json @@ -0,0 +1,139 @@ +{ + "name": "GetWorkspaceCollaborators", + "fully_qualified_name": "AirtableApi.GetWorkspaceCollaborators@0.1.0", + "description": "Fetches basic information on workspace collaborators and invites.\n\nThis tool retrieves basic information about collaborators in an Airtable workspace, excluding deleted ones and including only outstanding invites.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "workspace_id", + "required": true, + "description": "Unique identifier for the Airtable workspace to fetch collaborators from.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "workspaceId" + }, + { + "name": "fields_to_include", + "required": false, + "description": "List of specific fields to include in the response, such as 'email' or 'role'.", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "include" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-workspace-collaborators'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/workspaces/{workspaceId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "include", + "tool_parameter_name": "fields_to_include", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "workspaceId", + "tool_parameter_name": "workspace_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListAirtableViews.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListAirtableViews.json new file mode 100644 index 00000000..d151f93e --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListAirtableViews.json @@ -0,0 +1,139 @@ +{ + "name": "ListAirtableViews", + "fully_qualified_name": "AirtableApi.ListAirtableViews@0.1.0", + "description": "Lists basic information of Airtable base views.\n\nUse this tool to obtain a list of basic information about views within a specific Airtable base. This can be useful for understanding the structure and available views in a base.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier of the Airtable base for which views information is to be listed.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "fields_to_include", + "required": false, + "description": "Specify which fields to include in the response (e.g., view names, types).", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "include" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-views'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/views", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "include", + "tool_parameter_name": "fields_to_include", + "description": "", + "value_schema": { + "val_type": "array", + "inner_val_type": "string", + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListBaseBlockInstallations.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListBaseBlockInstallations.json new file mode 100644 index 00000000..930ee909 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListBaseBlockInstallations.json @@ -0,0 +1,106 @@ +{ + "name": "ListBaseBlockInstallations", + "fully_qualified_name": "AirtableApi.ListBaseBlockInstallations@0.1.0", + "description": "Lists basic information of base block installations.\n\nUse this tool to retrieve details about block installations in a specific Airtable base. It provides an overview of the blocks attached to the base, useful for managing or reviewing installed blocks.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_identifier", + "required": true, + "description": "Unique identifier for the Airtable base to list block installations from.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-block-installations'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/blockInstallations", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "base_identifier", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListBaseShares.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListBaseShares.json new file mode 100644 index 00000000..99da26d1 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListBaseShares.json @@ -0,0 +1,106 @@ +{ + "name": "ListBaseShares", + "fully_qualified_name": "AirtableApi.ListBaseShares@0.1.0", + "description": "Retrieve basic information about Airtable base shares.\n\nCall this tool to get information on shared Airtable bases, including details like base names and sharing status.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_id", + "required": true, + "description": "The unique identifier for the Airtable base to retrieve shares for.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-shares'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases.shares:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/shares", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListRecordComments.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListRecordComments.json new file mode 100644 index 00000000..db66e67e --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListRecordComments.json @@ -0,0 +1,238 @@ +{ + "name": "ListRecordComments", + "fully_qualified_name": "AirtableApi.ListRecordComments@0.1.0", + "description": "Retrieve comments for a specific record in a table.\n\nUse this tool to obtain a list of comments related to a specific record, sorted from newest to oldest. Note that comments replying to another comment may not have the parent comment in the same set of results.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_id", + "required": true, + "description": "The unique identifier for the Airtable base containing the table and record of interest.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "table_id_or_name", + "required": true, + "description": "The ID or name of the table containing the record whose comments you want to list.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "tableIdOrName" + }, + { + "name": "record_id", + "required": true, + "description": "The unique identifier of the record for which comments need to be fetched.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "recordId" + }, + { + "name": "comments_per_page", + "required": false, + "description": "The maximum number of comments to retrieve per page. Determines page size for pagination.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "pageSize" + }, + { + "name": "comments_page_offset", + "required": false, + "description": "Used to specify the starting point in a list of comments for pagination purposes.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "offset" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-comments'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "data.recordComments:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}/comments", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "pageSize", + "tool_parameter_name": "comments_per_page", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "offset", + "tool_parameter_name": "comments_page_offset", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "baseId", + "tool_parameter_name": "base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "tableIdOrName", + "tool_parameter_name": "table_id_or_name", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "recordId", + "tool_parameter_name": "record_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListScimGroups.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListScimGroups.json new file mode 100644 index 00000000..161b5535 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListScimGroups.json @@ -0,0 +1,139 @@ +{ + "name": "ListScimGroups", + "fully_qualified_name": "AirtableApi.ListScimGroups@0.1.0", + "description": "Retrieve a list of SCIM groups from Airtable.\n\nThis tool calls the Airtable API to list groups in the form of SCIM Group objects, following the SCIM specification for list responses. Use it when you need to access or manage groups in the SCIM format.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "maximum_results", + "required": false, + "description": "Specifies the maximum number of SCIM group objects to return. Must be a positive integer.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "count" + }, + { + "name": "group_filter", + "required": false, + "description": "A SCIM filter expression to narrow down group results based on attributes.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "filter" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-scim-groups'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.scim.usersAndGroups:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/scim/v2/Groups", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "count", + "tool_parameter_name": "maximum_results", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "filter", + "tool_parameter_name": "group_filter", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListScimUsers.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListScimUsers.json new file mode 100644 index 00000000..5b51fa46 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListScimUsers.json @@ -0,0 +1,172 @@ +{ + "name": "ListScimUsers", + "fully_qualified_name": "AirtableApi.ListScimUsers@0.1.0", + "description": "Retrieve a list of SCIM user objects.\n\nThis tool retrieves a list of users in the SCIM User format, following the SCIM specification. It's useful for managing user directories and data synchronization.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "start_index", + "required": false, + "description": "The starting index for listing SCIM users. Must be a positive integer.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "startIndex" + }, + { + "name": "max_number_of_users", + "required": false, + "description": "Specifies the maximum number of SCIM users to retrieve. This number determines how many user objects will be returned in the response.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "count" + }, + { + "name": "user_filter_query", + "required": false, + "description": "A string query to filter SCIM users based on specific attributes, following SCIM filtering syntax.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "filter" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-scim-users'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.scim.usersAndGroups:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/scim/v2/Users", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "startIndex", + "tool_parameter_name": "start_index", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "count", + "tool_parameter_name": "max_number_of_users", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "filter", + "tool_parameter_name": "user_filter_query", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListWebhooksForBase.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListWebhooksForBase.json new file mode 100644 index 00000000..568b808a --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/ListWebhooksForBase.json @@ -0,0 +1,106 @@ +{ + "name": "ListWebhooksForBase", + "fully_qualified_name": "AirtableApi.ListWebhooksForBase@0.1.0", + "description": "List all webhooks for a specified base.\n\nFetches and lists all registered webhooks for a given base in Airtable, including their statuses. Requires read permissions.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_id", + "required": true, + "description": "The unique identifier for the Airtable base to list webhooks for. Requires read permissions.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-webhooks'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "webhook:manage" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/bases/{baseId}/webhooks", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/LogoutEnterpriseUser.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/LogoutEnterpriseUser.json new file mode 100644 index 00000000..8e22fee5 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/LogoutEnterpriseUser.json @@ -0,0 +1,172 @@ +{ + "name": "LogoutEnterpriseUser", + "fully_qualified_name": "AirtableApi.LogoutEnterpriseUser@0.1.0", + "description": "Log out an enterprise account user.\n\nThis tool logs out a user from an enterprise account, specifically for ELA and FLA enterprise accounts or managed claiming users. It should be used when there's a need to terminate an active session for such users.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "The unique identifier for the enterprise account. Required for logging out the user.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "user_id", + "required": true, + "description": "The unique identifier for the user to be logged out. This value is required to terminate their session.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "userId" + }, + { + "name": "logout_request_body", + "required": false, + "description": "JSON object containing the logout details for the user session.", + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "requestBody" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'logout-user'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.user:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users/{userId}/logout", + "http_method": "POST", + "headers": {}, + "parameters": [ + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "userId", + "tool_parameter_name": "user_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "requestBody", + "tool_parameter_name": "logout_request_body", + "description": "", + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "body", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RemoveBaseCollaborator.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RemoveBaseCollaborator.json new file mode 100644 index 00000000..2da9d9c7 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RemoveBaseCollaborator.json @@ -0,0 +1,139 @@ +{ + "name": "RemoveBaseCollaborator", + "fully_qualified_name": "AirtableApi.RemoveBaseCollaborator@0.1.0", + "description": "Remove a collaborator from a specific Airtable base.\n\nUse this tool to remove a user or group from collaboration on an Airtable base. It should be called when you need to manage access and permissions of collaborators.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "base_identifier", + "required": true, + "description": "The unique identifier of the Airtable base from which the collaborator will be removed. It is expected to be a string.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "collaborator_id", + "required": true, + "description": "The ID of the user or group to be removed from the Airtable base.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "userOrGroupId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-base-collaborator'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/bases/{baseId}/collaborators/{userOrGroupId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "baseId", + "tool_parameter_name": "base_identifier", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "userOrGroupId", + "tool_parameter_name": "collaborator_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RemoveWorkspaceCollaborator.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RemoveWorkspaceCollaborator.json new file mode 100644 index 00000000..4530a275 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RemoveWorkspaceCollaborator.json @@ -0,0 +1,139 @@ +{ + "name": "RemoveWorkspaceCollaborator", + "fully_qualified_name": "AirtableApi.RemoveWorkspaceCollaborator@0.1.0", + "description": "Remove a collaborator from a workspace.\n\nCall this tool to delete a collaborator from an Airtable workspace, identified by workspace and user or group IDs.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "workspace_id", + "required": true, + "description": "The unique identifier of the workspace from which the collaborator will be removed.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "workspaceId" + }, + { + "name": "user_or_group_id", + "required": true, + "description": "The ID of the user or group to remove from the workspace. It must be a valid string identifier.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "userOrGroupId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'delete-workspace-collaborator'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "workspacesAndBases:write" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/workspaces/{workspaceId}/collaborators/{userOrGroupId}", + "http_method": "DELETE", + "headers": {}, + "parameters": [ + { + "name": "workspaceId", + "tool_parameter_name": "workspace_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "userOrGroupId", + "tool_parameter_name": "user_or_group_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAirtableChangeEvents.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAirtableChangeEvents.json new file mode 100644 index 00000000..c54bbecd --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAirtableChangeEvents.json @@ -0,0 +1,238 @@ +{ + "name": "RetrieveAirtableChangeEvents", + "fully_qualified_name": "AirtableApi.RetrieveAirtableChangeEvents@0.1.0", + "description": "Fetch Airtable change events for enterprise bases.\n\nRetrieve change events for enterprise bases from Airtable. This tool should be called when you need to access change events within a 14-day window. Ensure change events are enabled in your admin panel before using.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "Specify the ID of the enterprise account for which to retrieve change events.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "start_time", + "required": false, + "description": "The beginning ISO 8601 timestamp for retrieving change events.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "startTime" + }, + { + "name": "end_time", + "required": false, + "description": "The end timestamp to filter change events, formatted as ISO 8601 date-time string.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "endTime" + }, + { + "name": "page_size", + "required": false, + "description": "Specifies the number of change events to return per page. This controls pagination and helps in managing the amount of data received in a single request.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "pageSize" + }, + { + "name": "pagination_offset", + "required": false, + "description": "Specifies the starting point for retrieving change events, used for pagination.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "offset" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'change-events'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.changeEvents:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/changeEvents", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "startTime", + "tool_parameter_name": "start_time", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "endTime", + "tool_parameter_name": "end_time", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "pageSize", + "tool_parameter_name": "page_size", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "offset", + "tool_parameter_name": "pagination_offset", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAirtableRecord.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAirtableRecord.json new file mode 100644 index 00000000..29bf77c0 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAirtableRecord.json @@ -0,0 +1,238 @@ +{ + "name": "RetrieveAirtableRecord", + "fully_qualified_name": "AirtableApi.RetrieveAirtableRecord@0.1.0", + "description": "Retrieve a single record from Airtable by record ID.\n\nThis tool retrieves a single record from a specified Airtable base and table using the record ID. Empty fields in the record are not returned. If the record isn't found in the specified table, a base-wide search is conducted.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier of the Airtable base from which to retrieve the record.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "table_identifier_or_name", + "required": true, + "description": "The ID or name of the table from which to retrieve the record. This identifies the specific table within the base.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "tableIdOrName" + }, + { + "name": "record_id", + "required": true, + "description": "The unique identifier for the record to be retrieved from Airtable. This should be the record ID within the specified base and table.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "recordId" + }, + { + "name": "cell_format", + "required": false, + "description": "Specify the cell format for the returned data. Options include 'json' or 'string'.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "cellFormat" + }, + { + "name": "return_fields_by_field_id", + "required": false, + "description": "Set to true to return fields using field IDs instead of names.", + "value_schema": { + "val_type": "boolean", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "returnFieldsByFieldId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-record'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "data.records:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "cellFormat", + "tool_parameter_name": "cell_format", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "returnFieldsByFieldId", + "tool_parameter_name": "return_fields_by_field_id", + "description": "", + "value_schema": { + "val_type": "boolean", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "tableIdOrName", + "tool_parameter_name": "table_identifier_or_name", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "recordId", + "tool_parameter_name": "record_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAuditLogEvents.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAuditLogEvents.json new file mode 100644 index 00000000..d85dad5b --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAuditLogEvents.json @@ -0,0 +1,442 @@ +{ + "name": "RetrieveAuditLogEvents", + "fully_qualified_name": "AirtableApi.RetrieveAuditLogEvents@0.1.0", + "description": "Retrieve audit log events for an enterprise.\n\nUse this tool to access audit log events for a specific enterprise. It retrieves all current stored data and continues to update with future events.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "The unique ID of the enterprise account for which audit log events are being retrieved. This should be a string.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "start_time", + "required": false, + "description": "Specify the start time for retrieving audit log events. Use ISO 8601 format (e.g., '2023-01-01T00:00:00Z').", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "startTime" + }, + { + "name": "end_time", + "required": false, + "description": "The ISO 8601 formatted date and time to end retrieving audit log events. Leave empty to continue into the future.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "endTime" + }, + { + "name": "originating_user_id", + "required": false, + "description": "The ID of the user who initiated the event. Used to filter events by their originating user.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "originatingUserId" + }, + { + "name": "event_type", + "required": false, + "description": "Specify the type of event to filter audit logs (e.g., 'login', 'data_change').", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "eventType" + }, + { + "name": "model_id", + "required": false, + "description": "The ID of the model to filter audit log events. Use this to specify a particular model if needed.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "modelId" + }, + { + "name": "page_size", + "required": false, + "description": "Number of audit log events to retrieve per page.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "pageSize" + }, + { + "name": "sort_order", + "required": false, + "description": "Specify the order of the audit log results: 'ascending' or 'descending'.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": [ + "descending", + "ascending" + ], + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "sortOrder" + }, + { + "name": "previous_page_cursor", + "required": false, + "description": "A cursor string to navigate to the previous page of results in paginated data.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "previous" + }, + { + "name": "next_page_token", + "required": false, + "description": "A token to retrieve the next page of results in pagination. Use the token from the previous response if available.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "next" + }, + { + "name": "event_category", + "required": false, + "description": "Specifies the category of events to filter the audit log. Use to narrow down results to specific types of audit events.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "category" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'audit-log-events'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.auditLogs:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/auditLogEvents", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "startTime", + "tool_parameter_name": "start_time", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "endTime", + "tool_parameter_name": "end_time", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "originatingUserId", + "tool_parameter_name": "originating_user_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "eventType", + "tool_parameter_name": "event_type", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "modelId", + "tool_parameter_name": "model_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "pageSize", + "tool_parameter_name": "page_size", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "sortOrder", + "tool_parameter_name": "sort_order", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": [ + "descending", + "ascending" + ], + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "previous", + "tool_parameter_name": "previous_page_cursor", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "next", + "tool_parameter_name": "next_page_token", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "category", + "tool_parameter_name": "event_category", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAuditLogRequest.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAuditLogRequest.json new file mode 100644 index 00000000..cc0354e1 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveAuditLogRequest.json @@ -0,0 +1,139 @@ +{ + "name": "RetrieveAuditLogRequest", + "fully_qualified_name": "AirtableApi.RetrieveAuditLogRequest@0.1.0", + "description": "Retrieve a specific audit log request by task ID.\n\nUse this tool to get details about a specific audit log request from Airtable using the provided enterprise account ID and audit log task ID.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "enterprise_account_id", + "required": true, + "description": "The unique identifier for the enterprise account in Airtable. Used to specify which account's audit log is being retrieved.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAccountId" + }, + { + "name": "enterprise_audit_log_task_id", + "required": true, + "description": "The ID of the specific audit log task to retrieve from Airtable.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "enterpriseAuditLogTaskId" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'get-audit-log-request'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": { + "scopes": [ + "enterprise.auditLogs:read" + ] + } + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/auditLogs/{enterpriseAuditLogTaskId}", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "enterpriseAccountId", + "tool_parameter_name": "enterprise_account_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "enterpriseAuditLogTaskId", + "tool_parameter_name": "enterprise_audit_log_task_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveUserDetails.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveUserDetails.json new file mode 100644 index 00000000..b74d62ee --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveUserDetails.json @@ -0,0 +1,67 @@ +{ + "name": "RetrieveUserDetails", + "fully_qualified_name": "AirtableApi.RetrieveUserDetails@0.1.0", + "description": "Retrieve user's ID, scopes, and optionally email details.\n\nUse this tool to get the user's ID and the scopes associated with their OAuth tokens. If the token has the `user.email:read` scope, the user's email will also be provided.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [] + }, + "output": { + "description": "Response from the API endpoint 'get-user-id-scopes'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": null + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/meta/whoami", + "http_method": "GET", + "headers": {}, + "parameters": [], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveWebhookPayloads.json b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveWebhookPayloads.json new file mode 100644 index 00000000..e00eb9f9 --- /dev/null +++ b/toolkits/airtable_api/arcade_airtable_api/wrapper_tools/RetrieveWebhookPayloads.json @@ -0,0 +1,201 @@ +{ + "name": "RetrieveWebhookPayloads", + "fully_qualified_name": "AirtableApi.RetrieveWebhookPayloads@0.1.0", + "description": "Retrieve update messages for Airtable webhooks.\n\nThis tool retrieves the update messages from an Airtable webhook to ensure clients receive them after a ping event. It also extends the webhook's expiration time to 7 days from the call, ensuring continued activation if the webhook remains active.", + "toolkit": { + "name": "ArcadeAirtableApi", + "description": null, + "version": "0.1.0" + }, + "input": { + "parameters": [ + { + "name": "airtable_base_id", + "required": true, + "description": "The unique identifier for the Airtable base from which to retrieve webhook update messages.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "baseId" + }, + { + "name": "webhook_identifier", + "required": true, + "description": "The unique identifier for the Airtable webhook whose payloads are to be retrieved. This is necessary to specify which webhook's updates need to be listed.", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "webhookId" + }, + { + "name": "pagination_cursor", + "required": false, + "description": "Numeric cursor for paginating through webhook payloads. Useful for retrieving additional pages of data.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "cursor" + }, + { + "name": "max_payload_entries", + "required": false, + "description": "The maximum number of payload entries to retrieve. This helps manage the volume of data returned by the endpoint.", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "inferrable": true, + "http_endpoint_parameter_name": "limit" + } + ] + }, + "output": { + "description": "Response from the API endpoint 'list-webhook-payloads'.", + "available_modes": [ + "value", + "error", + "null" + ], + "value_schema": { + "val_type": "json", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": null + } + }, + "requirements": { + "authorization": { + "provider_id": "arcade-airtable", + "provider_type": "oauth2", + "id": null, + "oauth2": null + }, + "secrets": null, + "metadata": null + }, + "deprecation_message": null, + "metadata": { + "object_type": "api_wrapper_tool", + "version": "1.0.0", + "description": "Tools that enable LLMs to interact directly with the airtable API." + }, + "http_endpoint": { + "metadata": { + "object_type": "http_endpoint", + "version": "1.0.0", + "description": "" + }, + "url": "https://api.airtable.com/v0/bases/{baseId}/webhooks/{webhookId}/payloads", + "http_method": "GET", + "headers": {}, + "parameters": [ + { + "name": "cursor", + "tool_parameter_name": "pagination_cursor", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "limit", + "tool_parameter_name": "max_payload_entries", + "description": "", + "value_schema": { + "val_type": "number", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "query", + "required": false, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "baseId", + "tool_parameter_name": "airtable_base_id", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + }, + { + "name": "webhookId", + "tool_parameter_name": "webhook_identifier", + "description": "", + "value_schema": { + "val_type": "string", + "inner_val_type": null, + "enum": null, + "properties": null, + "inner_properties": null, + "description": "" + }, + "accepted_as": "path", + "required": true, + "deprecated": false, + "default": null, + "documentation_urls": [] + } + ], + "documentation_urls": [], + "secrets": [ + { + "arcade_key": "auth_token", + "parameter_name": "Authorization", + "accepted_as": "header", + "formatted_value": "Bearer {authorization}", + "description": "The OAuth token to use for authentication.", + "is_auth_token": true + } + ] + } +} diff --git a/toolkits/airtable_api/pyproject.toml b/toolkits/airtable_api/pyproject.toml new file mode 100644 index 00000000..ae78f6b6 --- /dev/null +++ b/toolkits/airtable_api/pyproject.toml @@ -0,0 +1,61 @@ +[build-system] +requires = [ "hatchling",] +build-backend = "hatchling.build" + +[project] +name = "arcade_airtable_api" +version = "0.1.0" +description = "Tools that enable LLMs to interact directly with the airtable API." +requires-python = ">=3.10" +dependencies = [ + "arcade-tdk>=2.0.0,<3.0.0", + "httpx[http2]>=0.27.2,<1.0.0", +] +[[project.authors]] +email = "support@arcade.dev" + +[project.optional-dependencies] +dev = [ + "arcade-mcp[all]>=1.0.0rc2,<3.0.0", + "arcade-serve>=2.0.0,<3.0.0", + "pytest>=8.3.0,<8.4.0", + "pytest-cov>=4.0.0,<4.1.0", + "pytest-mock>=3.11.1,<3.12.0", + "pytest-asyncio>=0.24.0,<0.25.0", + "mypy>=1.5.1,<1.6.0", + "pre-commit>=3.4.0,<3.5.0", + "tox>=4.11.1,<4.12.0", + "ruff>=0.7.4,<0.8.0", + "httpx[http2]>=0.27.2,<1.0.0", +] + + +# Tell Arcade.dev that this package is a toolkit +[project.entry-points.arcade_toolkits] +toolkit_name = "arcade_airtable_api" + +# Use local path sources for arcade libs when working locally +[tool.uv.sources] +arcade-mcp = { path = "../../", editable = true } +arcade-serve = { path = "../../libs/arcade-serve/", editable = true } +arcade-tdk = { path = "../../libs/arcade-tdk/", editable = true } +[tool.mypy] +files = [ "arcade_airtable_api/**/*.py",] +python_version = "3.10" +disallow_untyped_defs = "True" +disallow_any_unimported = "True" +no_implicit_optional = "True" +check_untyped_defs = "True" +warn_return_any = "True" +warn_unused_ignores = "True" +show_error_codes = "True" +ignore_missing_imports = "True" + +[tool.pytest.ini_options] +testpaths = [ "tests",] + +[tool.coverage.report] +skip_empty = true + +[tool.hatch.build.targets.wheel] +packages = [ "arcade_airtable_api",] diff --git a/toolkits/airtable_api/tests/__init__.py b/toolkits/airtable_api/tests/__init__.py new file mode 100644 index 00000000..e69de29b