nostaigia/ParaTool huggingface dataset:
name: get_current_weather
description: Retrieves the current weather conditions for a specified location, such as 'City, State' or 'City, Country'.
parameters: type: dict
required: location
properties: location: type: string
description: The location for which the weather is being requested, in the format of 'City, State (abbr)' or 'City, Country', such as 'Berkeley, CA' or 'London, UK'.
unit: type: string
description: The unit system used for weather condition values (e.g., temperature, wind speed).
enum: metric
imperial
default: metric
name: start_oncall
description: Initiate an on-call support session when a user explicitly requests assistance. The user's question, which should be clear and devoid of irrelevant details, can be referenced from the preceding chat interaction.
parameters: type: dict
required: question
oncall_type
properties: question: type: string
description: The concise question posed by the user, with irrelevant information omitted.
oncall_type: type: string
description: The category of the on-call support request.
enum: swift
mbox
name: create_workspace
description: Creates a new workspace in the mbox system, based on a specified branch of the aweme git repository.
parameters: type: dict
required: name
base_branch
properties: name: type: string
description: The name of the new workspace. Must be unique within the mbox system.
base_branch: type: string
description: The name of the base branch in the aweme git repository from which the workspace will be created.
name: generate_password
description: Generate a secure, random password based on specified criteria including length, numerical, and special character inclusion.
parameters: type: dict
required: length
properties: length: type: integer
description: The desired number of characters in the password. Must be an integer greater than 0.
include_numbers: type: boolean
description: Whether to include numerical digits (0-9) in the password.
default: yes
include_special_characters: type: boolean
description: Whether to include special characters (e.g., !, @, #) in the password.
default: no
name: get_current_weather
description: Retrieves the current weather conditions for a specified location.
parameters: type: dict
required: location
properties: location: type: string
description: The location for which to retrieve weather, in the format of 'City, State (abbr)' or 'City, Country', such as 'San Francisco, CA' or 'Paris, France'.
unit: type: string
description: The unit of temperature for the weather report.
enum: celsius
fahrenheit
default: fahrenheit
name: get_news_report
description: Retrieve the latest news based on a specified location in the format of 'City, State', such as 'San Francisco, CA'.
parameters: type: dict
required: location
properties: location: type: string
description: The location for which to get the news, specified in the format of 'City, State (abbr)', such as 'San Francisco, CA'. State needs to be in short form. If state not available in use 'City, Country
category: type: string
description: The category of news to filter by, such as 'Politics', 'Technology', 'Sports', etc.
enum: Politics
Technology
Sports
Entertainment
Health
default: General
language: type: string
description: The language of the news report. Use ISO 639-1 language codes like 'en' for English, 'es' for Spanish, etc.
enum: en
es
fr
de
it
default: en
name: get_news_report
description: Fetches the latest news based on a specific location, typically a city and state.
parameters: type: dict
required: location
properties: location: type: string
description: The location for which to get the news, in the format of 'City, State (abbr)' or 'City, Country', such as 'San Francisco, CA', 'Paris, France', or 'New York, NY'.
name: get_current_weather
description: Retrieves the current weather conditions for a specified location, with options for units of temperature measurement.
parameters: type: dict
required: location
properties: location: type: string
description: The location for which weather data is to be fetched, in the format of 'City, State (abbr)', such as 'San Francisco, CA'. Or 'City, Country'
unit: type: string
description: The unit of temperature for the weather report.
enum: celsius
fahrenheit
default: fahrenheit
name: get_aws_pricing
description: Retrieves the pricing for a specified AWS machine configuration based on the provided memory and CPU requirements.
parameters: type: dict
required: memory
cpu
properties: memory: type: integer
description: The amount of memory required for the machine in Gigabytes (GB).
cpu: type: integer
description: The number of virtual CPUs (vCPUs) required for the machine.
name: get_gcp_pricing
description: Retrieves the current pricing for Google Cloud Platform virtual machines based on specified memory and CPU configuration.
parameters: type: dict
required: memory_gb
cpu_count
properties: memory_gb: type: integer
description: The amount of memory required for the virtual machine in gigabytes (GB).
cpu_count: type: integer
description: The number of virtual CPUs (vCPUs) required for the virtual machine.
region: type: string
description: The region where the virtual machine will be hosted, such as 'us-central1' or 'europe-west1'.
default: us-central1
enum: us-central1
us-east1
us-west1
europe-west1
asia-east1
usage_type: type: string
description: The type of usage for the virtual machine, such as 'OnDemand' for on-demand instances or 'Preemptible' for preemptible instances.
default: OnDemand
enum: OnDemand
Preemptible
name: get_class_info
description: Retrieves information about the methods, properties, and constructor of a specified class if it exists within the module.
parameters: type: dict
required: class_name
properties: class_name: type: string
description: The name of the class to retrieve information for, as it appears in the source code.
include_private: type: boolean
description: Determines whether to include private methods and properties, which are typically denoted by a leading underscore.
default: no
module_name: type: string
description: The name of the module where the class is defined. This is optional if the class is within the current module.
name: get_signature
description: Retrieves the signature of a specified method within a given class, if available. The signature includes parameter names and their respective types.
parameters: type: dict
required: class_name
method_name
properties: class_name: type: string
description: The name of the class that contains the method for which the signature is requested.
method_name: type: string
description: The exact name of the method whose signature is to be retrieved.
include_private: type: boolean
description: A flag to indicate whether to include private methods' signatures in the search. 
default: no
name: get_relevant_classes
description: Retrieves a list of class names from the repository that potentially match the provided search criteria. This function is particularly useful when searching for utility classes or classes related to a specific functionality.
parameters: type: dict
required: search_string
properties: search_string: type: string
description: The keyword or phrase used to filter relevant classes in the repository.
case_sensitive: type: boolean
description: Determines if the search should be case sensitive. By default, the search is not case sensitive.
default: no
include_subdirectories: type: boolean
description: Indicates whether to include subdirectories in the search. Defaults to false to search only at the root level.
default: no
name: get_imports
description: This function analyzes the code from the previous attempt and returns a list of suggested imports that may resolve missing references.
parameters: type: dict
required: code_snippet
language
properties: code_snippet: type: string
description: The snippet of code from the previous attempt that potentially requires additional imports.
language: type: string
description: The programming language of the code snippet.
enum: Python
Java
C#
JavaScript
include_standard_library: type: boolean
description: A flag indicating whether to include standard library imports in the suggestions or not.
default: yes
name: get_class_info
description: Retrieves information about the methods, properties, and constructor of a specified class if it exists within the module.
parameters: type: dict
required: class_name
properties: class_name: type: string
description: The name of the class to retrieve information for, as it appears in the source code.
include_private: type: boolean
description: Determines whether to include private methods and properties, which are typically denoted by a leading underscore.
default: no
module_name: type: string
description: The name of the module where the class is defined. This is optional if the class is within the current module.
name: get_signature
description: Retrieves the signature of a specified method within a given class, if available. The signature includes parameter names and their respective types.
parameters: type: dict
required: class_name
method_name
properties: class_name: type: string
description: The name of the class that contains the method for which the signature is requested.
method_name: type: string
description: The exact name of the method whose signature is to be retrieved.
include_private: type: boolean
description: A flag to indicate whether to include private methods' signatures in the search.
default: no
name: get_relevant_classes
description: Retrieves a list of class names from the repository that potentially match the provided search criteria. This function is particularly useful when searching for utility classes or classes related to a specific functionality.
parameters: type: dict
required: search_string
properties: search_string: type: string
description: The keyword or phrase used to filter relevant classes in the repository.
case_sensitive: type: boolean
description: Determines if the search should be case sensitive. By default, the search is not case sensitive.
default: no
include_subdirectories: type: boolean
description: Indicates whether to include subdirectories in the search. Defaults to false to search only at the root level.
default: no
name: get_imports
description: This function analyzes the code from the previous attempt and returns a list of suggested imports that may resolve missing references.
parameters: type: dict
required: code_snippet
language
properties: code_snippet: type: string
description: The snippet of code from the previous attempt that potentially requires additional imports.
language: type: string
description: The programming language of the code snippet.
enum: Python
Java
C#
JavaScript
include_standard_library: type: boolean
description: A flag indicating whether to include standard library imports in the suggestions or not.
default: yes
name: math_gcd
description: Calculates the greatest common divisor (GCD) of two non-negative integers.
parameters: type: dict
properties: a: type: integer
description: The first and larger non-negative integer for which to calculate the GCD.
b: type: integer
description: The second non-negative integer for which to calculate the GCD.
required: a
b
name: estimate_derivative
description: This function estimates the derivative of a mathematical function at a specific point. It uses a numerical method for approximation.
parameters: type: dict
required: function
x
properties: function: type: any
description: The mathematical function for which the derivative is to be estimated, provided as a callable object.
x: type: float
description: The point at which the derivative is to be estimated, represented as a floating-point number.
dx: type: float
description: The infinitesimally small increment used to approximate the derivative, represented as a floating-point number.
default: 0.0001
method: type: string
description: The numerical method used for estimating the derivative. Common methods are 'forward', 'backward', and 'central' difference.
enum: forward
backward
central
default: central
name: math_gcd
description: Calculates the greatest common divisor (GCD) of two positive integers using the Euclidean algorithm.
parameters: type: dict
required: a
b
properties: a: type: integer
description: The first and larger positive integer for which to calculate the GCD.
b: type: integer
description: The second positive integer for which to calculate the GCD.
name: estimate_derivative
description: Estimate the derivative of a function at a given point using a finite difference method.
parameters: type: dict
required: function
x
properties: function: type: any
description: A callable function for which the derivative will be estimated, like the lambda x
x: type: float
description: The x-value (point) at which the derivative is to be estimated.
dx: type: float
description: A small increment in x used to calculate the finite difference. A smaller value gives a better approximation of the derivative.
default: 0.001
method: type: string
description: The finite difference method to use for estimation.
enum: forward
backward
central
default: central
name: get_current_weather
description: Retrieves the current weather conditions for a specified location, such as 'San Francisco, CA'.
parameters: type: dict
required: location
properties: location: type: string
description: The location for which to get the weather, in the format of 'City, State (abbr)' or 'City, Country', such as 'San Francisco, CA', 'Paris, France', or 'New York, NY'.
unit: type: string
description: The unit of measurement for temperature values.
enum: celsius
fahrenheit
default: fahrenheit
name: get_area_of_square
description: Calculate the area of a square by squaring the length of one of its sides.
parameters: type: dict
required: size
properties: size: type: float
description: The length of one side of the square in units.
name: Services_1_BookAppointment
description: Book an appointment with a hair stylist or salon. The appointment time and date must be specified.
parameters: type: dict
required: stylist_name
appointment_time
appointment_date
properties: stylist_name: type: string
description: The full name of the hair stylist or the name of the salon.
appointment_time: type: string
description: The time of the appointment in 24-hour format (HH:MM).
appointment_date: type: string
description: The date for the appointment in the format of 'YYYY-MM-DD'.
name: Services_1_FindProvider
description: Search for a hair stylist in a specified city, with the option to filter by whether the salon is unisex.
parameters: type: dict
required: city
properties: city: type: string
description: The city where the salon is located, in the format of 'City, State (abbr)' (e.g., 'New York, NY'). Use short form for the state.
is_unisex: type: boolean
description: Flag indicating if the salon is unisex. True for unisex, False for gender-specific, or dontcare for no preference.
enum: True
False
dontcare
default: dontcare
name: Weather_1_GetWeather
description: Retrieves the weather forecast for a specified city on a certain date.
parameters: type: dict
required: city
properties: city: type: string
description: The name of the city for which the weather is being requested, such as 'Los Angeles' or 'New York'.
date: type: string
description: The date for which the weather forecast is desired, in the format 'YYYY-MM-DD'. If not provided, the default is the current date.
default: current_date
name: user.mandates
description: Fetches the mandates associated with a user based on the provided user name and the status of the mandates. This API is intended for use by partners to retrieve information about their clients' mandates.
parameters: type: dict
required: name
properties: name: type: string
description: The full name of the partner's client for whom to fetch mandates.
status: type: string
description: The status of the mandates to be fetched.
enum: active
pending
inactive
default: active
name: partner.mandates
description: Fetches the mandates associated with a partner based on the specified status. If no status is provided, all mandates are retrieved.
parameters: type: dict
properties: status: type: string
description: The status of the mandates to be fetched. If left empty, mandates with any status will be retrieved.
enum: active
pending
inactive
default: all