code
stringlengths
17
6.64M
class RealTerminalExecute(FunctionTool): name = 'TerminalExecute' summary = 'Execute a terminal command and return the output. This command should follow proper syntax and be supported by the terminal environment.' parameters: List[ArgParameter] = [{'name': 'command', 'type': 'string', 'description': 'The...
@register_toolkit() class RealTerminal(FunctionToolkit): name_for_human = 'Terminal command executor' description_for_human = 'Executes commands in a terminal.' name_for_model = 'Terminal' description_for_model = "Executes commands in a terminal on the user's local system. Use it to run valid terminal...
class RealPythonInterpreterExecute(FunctionTool): name = 'PythonInterpreterExecute' summary = 'Execute a Python script.' parameters: List[ArgParameter] = [{'name': 'script', 'type': 'string', 'description': 'The python script to execute.', 'required': True}] returns: List[ArgReturn] = [{'name': 'resul...
@register_toolkit() class RealPythonInterpreter(FunctionToolkit): name_for_human = 'Python interpreter' description_for_human = 'A Python shell.' name_for_model = 'PythonInterpreter' description_for_model = 'A Python shell. Use it to execute python scripts. If you want to see the output of a value, y...
class RealWikipediaSearch(FunctionTool): name = 'WikipediaSearch' summary = 'Query the Wikipedia tool for a given query.' parameters: List[ArgParameter] = [{'name': 'query', 'type': 'string', 'description': 'The query to search for.', 'required': True}] returns: List[ArgReturn] = [{'name': 'result', '...
@register_toolkit() class RealWikipedia(FunctionToolkit): name_for_human = 'Wikipedia search tool' description_for_human = 'Tool for searching through Wikipedia.' name_for_model = 'Wikipedia' description_for_model = 'Tool for searching through Wikipedia. Use it whenever you need to provide accurate re...
class RealHumanAssistanceQuery(FunctionTool): name = 'HumanAssistanceQuery' summary = 'Ask the human a specific question' parameters: List[ArgParameter] = [{'name': 'question', 'type': 'string', 'description': 'The question to ask.', 'required': True}] returns: List[ArgReturn] = [{'name': 'answer', 't...
@register_toolkit() class RealHuman(FunctionToolkit): name_for_human = 'Human assistance' description_for_human = 'Seek human assistance or guidance.' name_for_model = 'HumanAssistance' description_for_model = 'Seek human assistance or guidance. Use it when expert human or user input is necessary, e.g...
def get_toolkit_dict(): return __TOOLKITS_DICT__
def toolkits_factory(name): return __TOOLKITS_DICT__.get(name, None)
def register_toolkit(overwrite=None): def register_function_fn(cls): name = overwrite if (name is None): name = cls.__name__ if (name in __TOOLKITS_DICT__): raise ValueError(f'Name {name} already registered!') if (not issubclass(cls, BaseToolkit)): ...
class FunctionTool(BaseTool): '\n Function tool is defined according to our specifciation that resembles Python function docstring, see `tool_interface.md`.\n ' name: str = None summary: str = None parameters: List[ArgParameter] = None returns: List[ArgReturn] = None exceptions: List[Arg...
class VirtualFunctionTool(FunctionTool): 'Virtual function tool that does not require implemented' def __init__(self, name_prefix: str='', tool_spec: Dict[(str, Any)]={}, **kwargs): super().__init__(**kwargs) for (k, v) in tool_spec.items(): if (k == 'name'): v = (...
class BaseToolkit(): '\n The toolkit consists of a collection of tools that are `BaseTool` objects.\n An example is a `Gmail` toolkit that may have multiple tool APIs, such as `Send`, `Read`, etc.\n ' name: str tool_classes: List[Any] def __init__(self): self.tools = self.load_tools(...
class FunctionToolkit(BaseToolkit): '\n Function toolkit consists of a collection of tools that are `FunctionToolAPI` objects.\n Defined according to our specifciation that resembles OpenAPI spec, see `tool_interface.md`\n ' name_for_human: str description_for_human: str name_for_model: str ...
class TerminalExecute(VirtualFunctionTool): name = 'TerminalExecute' summary = 'Execute a terminal command and return the output. This command should follow proper syntax and be supported by the terminal environment.' parameters: List[ArgParameter] = [{'name': 'command', 'type': 'string', 'description': '...
@register_toolkit() class Terminal(FunctionToolkit): name_for_human = 'Terminal command executor' description_for_human = 'Executes commands in a terminal.' name_for_model = 'Terminal' description_for_model = "Executes commands in a terminal on the user's local system. Use it to run valid terminal com...
class GmailSendEmail(VirtualFunctionTool): name = 'GmailSendEmail' summary = 'Send an email to one or multiple recipients, with optional scheduling, cc, and bcc.' parameters: List[ArgParameter] = [{'name': 'to', 'type': 'string', 'description': 'A string of email addresses to send to, separated by commas....
class GmailSearchEmails(VirtualFunctionTool): name = 'GmailSearchEmails' summary = 'Search for emails based on keywords, folders, labels, date range, or sender and recipient. If certain arguments are not provided, the corresponding filters are not applied.' parameters: List[ArgParameter] = [{'name': 'keyw...
class GmailReadEmail(VirtualFunctionTool): name = 'GmailReadEmail' summary = 'Read the content of an email, including attachments.' parameters: List[ArgParameter] = [{'name': 'email_id', 'type': 'string', 'description': 'The unique identifier of the email.', 'required': True}] returns: List[ArgReturn]...
class GmailOrganizeEmail(VirtualFunctionTool): name = 'GmailOrganizeEmail' summary = 'Move an email to a specific folder or update its labels.' parameters: List[ArgParameter] = [{'name': 'email_id', 'type': 'string', 'description': 'The unique identifier of the email.', 'required': True}, {'name': 'folder...
class GmailDeleteEmails(VirtualFunctionTool): name = 'GmailDeleteEmails' summary = 'Delete one or multiple emails from the mailbox.' parameters: List[ArgParameter] = [{'name': 'email_ids', 'type': 'array', 'description': 'An array of unique identifiers of the emails to be deleted.', 'required': True}] ...
class GmailAddOrUpdateContact(VirtualFunctionTool): name = 'GmailAddOrUpdateContact' summary = "Add a new contact to the contact list or update an existing contact's information." parameters: List[ArgParameter] = [{'name': 'contact_id', 'type': 'string', 'description': 'The unique identifier of the contac...
class GmailDeleteContact(VirtualFunctionTool): name = 'GmailDeleteContact' summary = 'Delete a contact from the contact list.' parameters: List[ArgParameter] = [{'name': 'contact_id', 'type': 'string', 'description': 'The unique identifier of the contact.', 'required': True}] returns: List[ArgReturn] ...
class GmailSearchContacts(VirtualFunctionTool): name = 'GmailSearchContacts' summary = 'Search for contacts based on filters. If certain arguments are not provided, the corresponding filters are not applied.' parameters: List[ArgParameter] = [{'name': 'name', 'type': 'string', 'description': 'The name of ...
class GmailDownloadAttachment(VirtualFunctionTool): name = 'GmailDownloadAttachment' summary = 'Download attachments using their ids.' parameters: List[ArgParameter] = [{'name': 'attachment_ids', 'type': 'array', 'description': 'The unique identifiers of the attachments.', 'required': True}] returns: ...
@register_toolkit() class Gmail(FunctionToolkit): name_for_human = 'Gmail' description_for_human = 'Tool for managing emails and contacts in Gmail.' name_for_model = 'Gmail' description_for_model = 'Tool for managing emails and contacts in Gmail. Use it to send, search, read, organize, and delete emai...
class GoogleCalendarCreateOrUpdateEvent(VirtualFunctionTool): name = 'GoogleCalendarCreateOrUpdateEvent' summary = 'Create a new event or update an existing event in the calendar.' parameters: List[ArgParameter] = [{'name': 'event_id', 'type': 'string', 'description': 'The unique identifier of the event t...
class GoogleCalendarDeleteEvents(VirtualFunctionTool): name = 'GoogleCalendarDeleteEvents' summary = 'Delete a list of events from the calendar.' parameters: List[ArgParameter] = [{'name': 'event_ids', 'type': 'array', 'description': 'The unique identifiers of the events to be deleted.', 'required': True}...
class GoogleCalendarReadEvents(VirtualFunctionTool): name = 'GoogleCalendarReadEvents' summary = 'Read events by event_ids.' parameters: List[ArgParameter] = [{'name': 'event_ids', 'type': 'array', 'description': 'An array of unique event identifiers to read events.', 'required': True}] returns: List[...
class GoogleCalendarSearchEvents(VirtualFunctionTool): name = 'GoogleCalendarSearchEvents' summary = 'Search events by keywords, date range, or attendees. If certain arguments are not provided, the corresponding filters are not applied.' parameters: List[ArgParameter] = [{'name': 'keywords', 'type': 'arra...
class GoogleCalendarSendInvitations(VirtualFunctionTool): name = 'GoogleCalendarSendInvitations' summary = 'Send event invitations to attendees.' parameters: List[ArgParameter] = [{'name': 'event_id', 'type': 'string', 'description': 'The unique identifier of the event.', 'required': True}] returns: L...
class GoogleCalendarSetReminder(VirtualFunctionTool): name = 'GoogleCalendarSetReminder' summary = 'Set or update a reminder for an event.' parameters: List[ArgParameter] = [{'name': 'event_id', 'type': 'string', 'description': 'The unique identifier of the event.', 'required': True}, {'name': 'reminder_t...
class GoogleCalendarGetEventsFromSharedCalendar(VirtualFunctionTool): name = 'GoogleCalendarGetEventsFromSharedCalendar' summary = "Get events from other users' shared calendar." parameters: List[ArgParameter] = [{'name': 'email', 'type': 'string', 'description': 'The email of the user who shared the cale...
@register_toolkit() class GoogleCalendar(FunctionToolkit): name_for_human = 'Google Calendar management tool' description_for_human = 'Tool for managing Google Calendar events.' name_for_model = 'GoogleCalendar' description_for_model = 'Tool for managing Google Calendar events, including creating, del...
class BankManagerGetAccountInformation(VirtualFunctionTool): name = 'BankManagerGetAccountInformation' summary = 'Retrieve information (e.g., account number or balance) about an account that belongs to the User. ' parameters: List[ArgParameter] = [{'name': 'account_type', 'type': 'string', 'description': ...
class BankManagerTransferFunds(VirtualFunctionTool): name = 'BankManagerTransferFunds' summary = 'Transfer funds between two accounts.' parameters: List[ArgParameter] = [{'name': 'from_account_number', 'type': 'string', 'description': "The user's bank account number to transfer funds from, in the format '...
class BankManagerSearchPayee(VirtualFunctionTool): name = 'BankManagerSearchPayee' summary = 'Search for a payee by keywords.' parameters: List[ArgParameter] = [{'name': 'keywords', 'type': 'array', 'description': 'A list of keywords to search for in the payee name.', 'required': True}] returns: List[...
class BankManagerPayBill(VirtualFunctionTool): name = 'BankManagerPayBill' summary = 'Pay a bill to a specified payee with your service acccount number.' parameters: List[ArgParameter] = [{'name': 'from_account_number', 'type': 'string', 'description': "The user's bank account number used for paying the b...
class BankManagerGetAccountStatement(VirtualFunctionTool): name = 'BankManagerGetAccountStatement' summary = 'Retrieve an account statement for a specified period.' parameters: List[ArgParameter] = [{'name': 'account_number', 'type': 'string', 'description': "The user's bank account number in the format '...
class BankManagerSearchTransactions(VirtualFunctionTool): name = 'BankManagerSearchTransactions' summary = 'Search transactions by keyword or amount range. If certain arguments are not provided, the corresponding filters are not applied.' parameters: List[ArgParameter] = [{'name': 'account_number', 'type'...
@register_toolkit() class BankManager(FunctionToolkit): name_for_human = 'Bank Manager' description_for_human = 'Toolkit for managing personal online banking tasks.' name_for_model = 'BankManager' description_for_model = 'A comprehensive toolkit for managing personal online banking tasks, such as view...
class AmazonSearchProducts(VirtualFunctionTool): name = 'AmazonSearchProducts' summary = 'Search for products based on keywords.' parameters: List[ArgParameter] = [{'name': 'search_keywords', 'type': 'array', 'description': 'A list of keywords to search for in the product name.', 'required': True}, {'name...
class AmazonGetProductDetails(VirtualFunctionTool): name = 'AmazonGetProductDetails' summary = 'Retrieve detailed information about a product.' parameters: List[ArgParameter] = [{'name': 'product_id', 'type': 'string', 'description': 'The unique identifier of the product.', 'required': True}] returns:...
class AmazonAddToCart(VirtualFunctionTool): name = 'AmazonAddToCart' summary = 'Add a product to the shopping cart.' parameters: List[ArgParameter] = [{'name': 'product_id', 'type': 'string', 'description': 'The unique identifier of the product.', 'required': True}, {'name': 'quantity', 'type': 'integer',...
class AmazonViewCart(VirtualFunctionTool): name = 'AmazonViewCart' summary = 'View the contents of the shopping cart.' parameters: List[ArgParameter] = [] returns: List[ArgReturn] = [{'name': 'cart_contents', 'type': 'array', 'description': "A list of objects, each containing 'product_id' (string), 'p...
class AmazonRemoveFromCart(VirtualFunctionTool): name = 'AmazonRemoveFromCart' summary = 'Remove a list of products from the shopping cart entirely, regardless of the quantity.' parameters: List[ArgParameter] = [{'name': 'product_ids', 'type': 'array', 'description': 'The unique identifiers of the product...
class AmazonPlaceOrder(VirtualFunctionTool): name = 'AmazonPlaceOrder' summary = 'Place an order for the products in the shopping cart, using the specified shipping address and payment method. The shopping cart is emptied after the order is placed.' parameters: List[ArgParameter] = [{'name': 'shipping_add...
class AmazonSearchOrderHistory(VirtualFunctionTool): name = 'AmazonSearchOrderHistory' summary = "Search the user's order history." parameters: List[ArgParameter] = [{'name': 'search_keywords', 'type': 'array', 'description': 'A list of keywords to search for in the order history.', 'required': True}, {'n...
class AmazonViewOrderDetails(VirtualFunctionTool): name = 'AmazonViewOrderDetails' summary = 'View the details of an order, including shipment and payment information.' parameters: List[ArgParameter] = [{'name': 'order_id', 'type': 'string', 'description': 'The unique identifier of the order.', 'required'...
class AmazonManageWishlist(VirtualFunctionTool): name = 'AmazonManageWishlist' summary = "Add, remove, or view items in the user's wish list." parameters: List[ArgParameter] = [{'name': 'action', 'type': 'string', 'description': "The action to perform, one of ['add', 'remove', 'view'].", 'required': True}...
class AmazonViewSavedAddresses(VirtualFunctionTool): name = 'AmazonViewSavedAddresses' summary = "View the user's saved addresses." parameters: List[ArgParameter] = [] returns: List[ArgReturn] = [{'name': 'addresses', 'type': 'array', 'description': "A list of objects, each containing 'remark', 'name'...
class AmazonViewSavedPaymentMethods(VirtualFunctionTool): name = 'AmazonViewSavedPaymentMethods' summary = "View the user's saved payment methods." parameters: List[ArgParameter] = [] returns: List[ArgReturn] = [{'name': 'payment_methods', 'type': 'array', 'description': "A list of objects, each conta...
class AmazonPostReview(VirtualFunctionTool): name = 'AmazonPostReview' summary = 'Post a review for a previous product that was purchased.' parameters: List[ArgParameter] = [{'name': 'product_id', 'type': 'string', 'description': 'The unique identifier of the product.', 'required': True}, {'name': 'review...
@register_toolkit() class Amazon(FunctionToolkit): name_for_human = 'Amazon' description_for_human = 'Toolkit for common online shopping tasks on Amazon.' name_for_model = 'Amazon' description_for_model = 'An Amazon toolkit to perform common online shopping tasks like searching for products, viewing p...
class ExpediaSearchFlights(VirtualFunctionTool): name = 'ExpediaSearchFlights' summary = 'Search for available flights based on origin, destination, and departure date. Optionally, return flights can be searched for by providing a return date.' parameters: List[ArgParameter] = [{'name': 'origin', 'type': ...
class ExpediaGetFlightDetails(VirtualFunctionTool): name = 'ExpediaGetFlightDetails' summary = 'Retrieve detailed information for a specific flight using its unique number and departure date.' parameters: List[ArgParameter] = [{'name': 'departure_date', 'type': 'string', 'description': "The departure date...
class ExpediaSearchAccommodations(VirtualFunctionTool): name = 'ExpediaSearchAccommodations' summary = 'Search for available accommodations based on city, location, check-in date, check-out date, and guests.' parameters: List[ArgParameter] = [{'name': 'city', 'type': 'string', 'description': 'The city of ...
class ExpediaBooking(VirtualFunctionTool): name = 'ExpediaBooking' summary = 'Book flight or accommodation options using user-provided details and payment information.' parameters: List[ArgParameter] = [{'name': 'option_ids', 'type': 'array', 'description': 'An non-empty array of unique identifiers of the...
class ExpediaSearchReservations(VirtualFunctionTool): name = 'ExpediaSearchReservations' summary = 'Search for existing flight or accommodation reservations based on reservation type, query string, start date, and end date. The query string is searched for in the reservation details.' parameters: List[Arg...
class ExpediaCancelReservations(VirtualFunctionTool): name = 'ExpediaCancelReservations' summary = 'Cancel a list of existing flight or accommodation reservation and process any applicable refunds.' parameters: List[ArgParameter] = [{'name': 'reservation_ids', 'type': 'array', 'description': 'An array of ...
class ExpediaRetrieveSavedInformation(VirtualFunctionTool): name = 'ExpediaRetrieveSavedInformation' summary = "Retrieve user's saved payment methods or people information." parameters: List[ArgParameter] = [{'name': 'information_type', 'type': 'string', 'description': "The type of information, must be on...
@register_toolkit() class Expedia(FunctionToolkit): name_for_human = 'Expedia' description_for_human = 'Toolkit for searching, booking, and managing flights and accommodations.' name_for_model = 'Expedia' description_for_model = 'A toolkit for searching, booking, and managing flights and accommodation...
class TwitterManagerPostTweet(VirtualFunctionTool): name = 'TwitterManagerPostTweet' summary = "Post a new tweet to the user's timeline." parameters: List[ArgParameter] = [{'name': 'content', 'type': 'string', 'description': 'The content of the tweet, max length 280 characters.', 'required': True}, {'name...
class TwitterManagerSearchTweets(VirtualFunctionTool): name = 'TwitterManagerSearchTweets' summary = "Search for user's own tweets or public tweets containing specific keywords or hashtags." parameters: List[ArgParameter] = [{'name': 'query', 'type': 'string', 'description': 'The query string to search fo...
class TwitterManagerReadTweet(VirtualFunctionTool): name = 'TwitterManagerReadTweet' summary = 'Read the content of a specific tweet by its ID.' parameters: List[ArgParameter] = [{'name': 'tweet_id', 'type': 'string', 'description': 'The unique identifier of the tweet to read.', 'required': True}] ret...
class TwitterManagerDeleteTweets(VirtualFunctionTool): name = 'TwitterManagerDeleteTweets' summary = 'Delete a tweet by its ID.' parameters: List[ArgParameter] = [{'name': 'tweet_ids', 'type': 'array', 'description': 'An array of unique identifiers of the tweets to delete.', 'required': True}] returns...
class TwitterManagerFollowUsers(VirtualFunctionTool): name = 'TwitterManagerFollowUsers' summary = 'Follow other users by their IDs.' parameters: List[ArgParameter] = [{'name': 'user_ids', 'type': 'array', 'description': 'An array of unique identifiers of the users to follow.', 'required': True}] retu...
class TwitterManagerUnfollowUsers(VirtualFunctionTool): name = 'TwitterManagerUnfollowUsers' summary = 'Unfollow other users by their IDs.' parameters: List[ArgParameter] = [{'name': 'user_ids', 'type': 'array', 'description': 'An array of unique identifiers of the users to unfollow.', 'required': True}] ...
class TwitterManagerGetUserProfile(VirtualFunctionTool): name = 'TwitterManagerGetUserProfile' summary = "Retrieve the user's own profile or another user's profile information by their ID." parameters: List[ArgParameter] = [{'name': 'user_id', 'type': 'string', 'description': 'The unique identifier of the...
class TwitterManagerLikeTweet(VirtualFunctionTool): name = 'TwitterManagerLikeTweet' summary = 'Like a tweet by its ID.' parameters: List[ArgParameter] = [{'name': 'tweet_id', 'type': 'string', 'description': 'The unique identifier of the tweet to like.', 'required': True}] returns: List[ArgReturn] = ...
class TwitterManagerUnlikeTweet(VirtualFunctionTool): name = 'TwitterManagerUnlikeTweet' summary = 'Undo like a tweet by its ID.' parameters: List[ArgParameter] = [{'name': 'tweet_id', 'type': 'string', 'description': 'The unique identifier of the tweet to undo like.', 'required': True}] returns: List...
class TwitterManagerRetweet(VirtualFunctionTool): name = 'TwitterManagerRetweet' summary = 'Retweet a tweet by its ID.' parameters: List[ArgParameter] = [{'name': 'tweet_id', 'type': 'string', 'description': 'The unique identifier of the tweet to retweet.', 'required': True}] returns: List[ArgReturn] ...
class TwitterManagerReplyToTweet(VirtualFunctionTool): name = 'TwitterManagerReplyToTweet' summary = 'Reply to a tweet by its ID.' parameters: List[ArgParameter] = [{'name': 'tweet_id', 'type': 'string', 'description': 'The unique identifier of the tweet to reply to.', 'required': True}, {'name': 'content...
@register_toolkit() class TwitterManager(FunctionToolkit): name_for_human = 'Twitter Manager' description_for_human = 'Toolkit for managing a Twitter account.' name_for_model = 'TwitterManager' description_for_model = "A toolkit for managing a Twitter account, enabling users to send, search, read, del...
class GoogleHomeSearchDevices(VirtualFunctionTool): name = 'GoogleHomeSearchDevices' summary = "Searches for smart home devices connected to the user's Google Home." parameters: List[ArgParameter] = [{'name': 'device_type', 'type': 'string', 'description': "The type of device to search for, e.g., 'light',...
class GoogleHomeListDeviceActions(VirtualFunctionTool): name = 'GoogleHomeListDeviceActions' summary = 'Retrieves a list of possible actions that can be performed on a specified smart home device.' parameters: List[ArgParameter] = [{'name': 'device_id', 'type': 'string', 'description': 'The unique identif...
class GoogleHomeControlDevice(VirtualFunctionTool): name = 'GoogleHomeControlDevice' summary = "Controls a specified smart home device by turning it on/off, adjusting its settings, or performing other actions. The available actions and parameters depend on the device type, which can be retrieved using 'ListDe...
class GoogleHomeScheduleDeviceAction(VirtualFunctionTool): name = 'GoogleHomeScheduleDeviceAction' summary = 'Schedules a specified smart home device to perform an action at a specified date and time.' parameters: List[ArgParameter] = [{'name': 'device_id', 'type': 'string', 'description': 'The unique ide...
class GoogleHomePlayMedia(VirtualFunctionTool): name = 'GoogleHomePlayMedia' summary = 'Plays specified media (music, podcasts, etc.) on a connected device.' parameters: List[ArgParameter] = [{'name': 'media', 'type': 'string', 'description': 'The media to play, e.g., a song title, podcast name, or radio ...
class GoogleHomeSetReminder(VirtualFunctionTool): name = 'GoogleHomeSetReminder' summary = 'Sets a reminder for a specified date and time.' parameters: List[ArgParameter] = [{'name': 'reminder_text', 'type': 'string', 'description': 'The text of the reminder.', 'required': True}, {'name': 'date_time', 'ty...
class GoogleHomeListReminders(VirtualFunctionTool): name = 'GoogleHomeListReminders' summary = "Lists all reminders set on the user's Google Home." parameters: List[ArgParameter] = [] returns: List[ArgReturn] = [{'name': 'reminders', 'type': 'array', 'description': "A list of reminders, each containin...
class GoogleHomeAskQuestion(VirtualFunctionTool): name = 'GoogleHomeAskQuestion' summary = 'Asks a question and receives an answer from Google Home.' parameters: List[ArgParameter] = [{'name': 'question', 'type': 'string', 'description': 'The question to ask.', 'required': True}] returns: List[ArgRetu...
@register_toolkit() class GoogleHome(FunctionToolkit): name_for_human = 'Google Home' description_for_human = 'Toolkit for controlling and managing Google Home devices.' name_for_model = 'GoogleHome' description_for_model = 'A toolkit for controlling and managing Google Home devices, enabling users to...
class DropboxUploadFile(VirtualFunctionTool): name = 'DropboxUploadFile' summary = "Upload a file from the local system to the user's Dropbox account." parameters: List[ArgParameter] = [{'name': 'local_file_path', 'type': 'string', 'description': 'The path of the file on the local system.', 'required': Tr...
class DropboxDownloadFile(VirtualFunctionTool): name = 'DropboxDownloadFile' summary = 'Download a file from the Dropbox to the local system. It could be a file uploaded by the user or a file shared with the user by others.' parameters: List[ArgParameter] = [{'name': 'user_cloud_file_path', 'type': 'strin...
class DropboxListFilesAndFolders(VirtualFunctionTool): name = 'DropboxListFilesAndFolders' summary = "List files and folders in a given folder in the user's Dropbox account." parameters: List[ArgParameter] = [{'name': 'cloud_folder_path', 'type': 'string', 'description': "The cloud folder path in the user...
class DropboxCreateFolder(VirtualFunctionTool): name = 'DropboxCreateFolder' summary = 'Create a folder in the cloud storage.' parameters: List[ArgParameter] = [{'name': 'folder_name', 'type': 'string', 'description': 'The name of the new folder.', 'required': True}, {'name': 'parent_folder_path', 'type':...
class DropboxShareItem(VirtualFunctionTool): name = 'DropboxShareItem' summary = "Share a file or folder in user's Dropbox account with another user." parameters: List[ArgParameter] = [{'name': 'item_path', 'type': 'string', 'description': "The cloud file or folder path in the user's Dropbox account to be...
class DropboxDeleteItem(VirtualFunctionTool): name = 'DropboxDeleteItem' summary = "Delete a file or folder from the user's Dropbox account." parameters: List[ArgParameter] = [{'name': 'item_path', 'type': 'string', 'description': "The cloud file or folder path in the user's Dropbox account to be deleted....
class DropboxSearchItems(VirtualFunctionTool): name = 'DropboxSearchItems' summary = "Search for files and folders by name or metadata in the user's Dropbox account." parameters: List[ArgParameter] = [{'name': 'query', 'type': 'string', 'description': 'The search query.', 'required': True}, {'name': 'max_...
class DropboxGetItemMetadata(VirtualFunctionTool): name = 'DropboxGetItemMetadata' summary = "Get metadata of a file or folder in the user's Dropbox account." parameters: List[ArgParameter] = [{'name': 'item_path', 'type': 'string', 'description': "The cloud file or folder path in the user's Dropbox accou...
class DropboxMoveItem(VirtualFunctionTool): name = 'DropboxMoveItem' summary = "Move a file or folder to a different folder in the user's Dropbox account." parameters: List[ArgParameter] = [{'name': 'item_path', 'type': 'string', 'description': "The cloud file or folder path in the user's Dropbox account ...
class DropboxCreateLink(VirtualFunctionTool): name = 'DropboxCreateLink' summary = 'Create a shareable link for a file or folder in the cloud storage.' parameters: List[ArgParameter] = [{'name': 'item_path', 'type': 'string', 'description': "The cloud file or folder path in the user's Dropbox account to b...
class DropboxDisableLink(VirtualFunctionTool): name = 'DropboxDisableLink' summary = 'Disable the shareable link for a file or folder in the cloud storage.' parameters: List[ArgParameter] = [{'name': 'item_path', 'type': 'string', 'description': "The cloud file or folder path in the user's Dropbox account...
@register_toolkit() class Dropbox(FunctionToolkit): name_for_human = 'Dropbox' description_for_human = 'Toolkit for managing files and folders in Dropbox.' name_for_model = 'Dropbox' description_for_model = 'A comprehensive toolkit for managing files and folders in Dropbox, including uploading, downlo...
class TeladocSearchDoctors(VirtualFunctionTool): name = 'TeladocSearchDoctors' summary = 'Search for doctors based on keywords, specialty, location, and a specific date.' parameters: List[ArgParameter] = [{'name': 'keywords', 'type': 'string', 'description': 'Keywords to search doctors by, such as name or...
class TeladocConsultDoctor(VirtualFunctionTool): name = 'TeladocConsultDoctor' summary = "Start a consultation with a doctor by providing the doctor's unique identifier and reason for consultation." parameters: List[ArgParameter] = [{'name': 'doctor_id', 'type': 'string', 'description': 'The unique identi...
class TeladocScheduleAppointment(VirtualFunctionTool): name = 'TeladocScheduleAppointment' summary = "Schedule an appointment with a doctor by providing the doctor's unique identifier, appointment date and time, and reason for appointment." parameters: List[ArgParameter] = [{'name': 'doctor_id', 'type': '...
class TeladocManageAppointments(VirtualFunctionTool): name = 'TeladocManageAppointments' summary = "View, update, or cancel appointments by providing the appointment's unique identifier and any updates or cancellation requests." parameters: List[ArgParameter] = [{'name': 'appointment_id', 'type': 'string'...