Dataset Viewer
Auto-converted to Parquet Duplicate
function
stringlengths
375
1.49k
{ "name": "vt_validate_historical_ssl_certificates", "description": "This function takes historical SSL certificates as input and checks if there is at least one valid SSL certificate present inside the provided historical data. It validates the SSL certificate by checking whether it is not expired and its issu...
{ "name": "vt_get_threat_actors_main_source_region", "description": "This function takes a list of threat actor objects and returns the primary source region among them. Each threat actor object has an attribute 'source region', and the function analyses this attribute across all objects to determine and return...
{ "name": "vt_get_threat_actors_latest_modification_date", "description": "This function retrieves the latest modification date from a list of threat actor objects. It iterates through each threat actor object, checks its modification date, and returns the most recent modification date.", "parameters": { ...
{ "name": "convert_unix_timestamp_to_date", "description": "Converts a UNIX timestamp to a human-readable date in the format 'YYYY/MM/DD'.", "parameters": { "properties": { "unix_timestamp": { "description": "The UNIX timestamp to be converted.", "type": "...
{ "name": "vt_is_date_within_range", "description": "Checks if a given Unix timestamp is within a specified date range. The range is specified by 'start' and 'end' dates formatted as 'YYYY/MM/DD'. It's permissible for only one of 'start' or 'end' to be present in the function call. If 'start' is not provided, t...
{ "name": "vt_get_last_analysis_date_from_report", "description": "This function retrieves the last analysis date from the domain report collected by VirusTotal. The returned date is in Unix timestamp format.", "parameters": { "properties": { "report": { "description": "T...
{ "name": "vt_get_comments_on_multiple_domains", "description": "This function will retrieve comments for each specified domain in the given list.", "parameters": { "properties": { "domains": { "description": "List of domain names", "type": "array", ...
{ "name": "vt_get_multiple_domain_reports", "description": "Retrieves reports for a list of domains provided. For each domain in the list, it requests the collected information regarding that domain from VirusTotal.", "parameters": { "properties": { "domains": { "descript...
{ "name": "vt_get_majority_vote", "description": "This function takes a dictionary of votes and returns the name with the majority votes. If the votes are equal, it will return the first encountered key in the dictionary.", "parameters": { "properties": { "votes": { "desc...
{ "name": "count_items_in_list", "description": "This function takes a list as an input and returns the number of items present in the list.", "parameters": { "properties": { "input_list": { "description": "List whose items are to be counted", "type": "arr...
{ "name": "extract_resolution_date", "description": "Extracts the date of DNS resolution from a DNS resolution object. The date is returned as a Unix timestamp.", "parameters": { "properties": { "dns_res_obj": { "description": "The DNS resolution object from which the dat...
{ "name": "calculate_sum_of_numbers", "description": "Computes the sum of two numbers provided. Input numbers can be either integer or floating-point values.", "parameters": { "properties": { "num1": { "description": "The first number", "type": "number" ...
{ "name": "get_first_object_from_list", "description": "Retrieves the first object from a given list. If the list is empty, it returns `None`.", "parameters": { "properties": { "list_of_objects": { "description": "List containing objects from which the function will pick ...
{ "name": "get_random_object_from_list", "description": "This function selects and returns a random object from a list of objects. It is designed to handle any list length, including empty lists.", "parameters": { "properties": { "list_of_objects": { "description": "List ...
{ "name": "resolve_ip_to_domain_and_parent_domain", "description": "Resolves an IP address to its associated domain and parent domain. This function leverages DNS resolution to determine the domain associated with the given IP address and then extracts the parent domain from the resolved domain.", "paramete...
{ "name": "extract_domain_and_parent_domain", "description": "Extracts the domain and parent domain from a given URL.", "parameters": { "properties": { "url": { "description": "The URL from which to extract the domain and parent domain.", "type": "string" ...
{ "name": "merge_two_lists", "description": "Merges two lists of objects into a single list. This function takes in two lists and returns a combined list containing elements from both lists. Duplicates are not removed.", "parameters": { "properties": { "list1": { "descrip...
{ "name": "vt_get_votes_on_ip_address", "description": "This function will retrieve votes on a provided IP address.", "parameters": { "properties": { "ip": { "description": "IP address", "type": "string" } }, "required": [ ...
{ "name": "vt_get_comments_on_domain", "description": "This function will retrieve comments on a specified domain.", "parameters": { "properties": { "domain": { "description": "Domain name", "type": "string" }, "x_apikey": { ...
{ "name": "vt_get_object_descriptors_related_to_domain", "description": "This function returns related object's IDs (and context attributes, if any) for a given domain. It will not return all attributes but will provide objects relating to the specified domain. Relationships include caa_records, cname_records, ...
{ "name": "vt_get_objects_related_to_domain", "description": "This function returns all of the objects related to the specified domain, based on the specified relationship. Valid relationships include caa_records, cname_records, comments, communicating_files, downloaded_files, graphs, historical_ssl_certificate...
{ "name": "vt_get_object_descriptors_related_to_ip_address", "description": "This function returns related object's IDs (and context attributes, if any) for a given IP address based on the specified relationship. Note that this will not return all attributes. The valid relationships include comments, communicat...
{ "name": "vt_add_comment_to_ip_address", "description": "With this function you can post a comment for a given IP address. The body for the POST request must be the JSON representation of a comment object. Notice however that you don't need to provide an ID for the object, as they are automatically generated f...
{ "name": "vt_get_comments_on_ip_address", "description": "Retrieves the comments on a provided IP address. Returns a list of Comment objects.", "parameters": { "properties": { "ip": { "description": "IP address", "type": "string" }, ...
{ "name": "vt_get_domain_report", "description": "Retrieves a domain report. These reports contain information regarding the domain itself that VirusTotal has collected.", "parameters": { "properties": { "domain": { "description": "Domain name", "type": "s...
{ "name": "vt_add_votes_to_ip_address", "description": "With this function you can post a vote for a given file. The body for the POST request must be the JSON representation of a vote object. Note however that you don't need to provide an ID for the object, as they are automatically generated for new votes. Th...
{ "name": "vt_get_ip_address_report", "description": "Retrieve an IP address report. These reports condense all of the recent activity that VirusTotal has seen for the resource under consideration, as well as contextual information about it. This function specifically generates these reports using the IP addres...
{ "name": "vt_get_objects_related_to_ip_address", "description": "IP addresses have a number of relationships to other objects. This function returns ALL objects that fit the specified relationship. The relationships include comments, communicating_files, downloaded_files, graphs, historical_ssl_certificates, h...
{ "name": "vt_get_dns_resolution_object", "description": "This endpoint retrieves a Resolution object by its ID. A resolution object ID is made by appending the IP and the domain it resolves to together. Resolution objects include attributes such as date (UTC timestamp), host_name (domain or subdomain requested...

Nexus Function Definitions

This dataset reformats function specs from the Nexusflow/Function_Call_Definitions VT_Multi subset. The function defitions are formatted as JSON Schema objects making them suitable for use with OpenAI compatible APIs.

Dataset Fields

  • function:str - function spec in JSON Schema syntax serialized as a string with 4-space indent.

Usage

from datasets import load_dataset

dataset = load_dataset("fireworks-ai/nexus_parallel_functions")
Downloads last month
5