id
int64
0
8.64k
tools
stringlengths
243
4.76k
conversation
stringlengths
1.22k
12.6k
source
stringclasses
1 value
3,919
[{"type": "function", "function": {"name": "capitalize_a_and_has_a", "description": "Modifies the input string to capitalize all 'a' and checks for the presence of 'a'.", "parameters": {"type": "object", "properties": {"s": {"type": "string", "description": "The input string containing only lowercase letters."}}, "requ...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "capitalize_a_and_has_a", "description": "Modifies the input string to capitali...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,920
[{"type": "function", "function": {"name": "longest_word_length", "description": "Finds the length of the longest word in a list of words.", "parameters": {"type": "object", "properties": {"words": {"type": "array", "items": {"type": "string"}, "description": "A list of words to search through."}}, "required": ["words"...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "longest_word_length", "description": "Finds the length of the longest word in ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,921
[{"type": "function", "function": {"name": "flatten_strings", "description": "Takes a list of string lists and returns a single-level list of strings.", "parameters": {"type": "object", "properties": {"string_lists": {"type": "array", "items": {"type": "array", "items": {"type": "string"}}, "description": "A list of li...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "flatten_strings", "description": "Takes a list of string lists and returns a s...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,922
[{"type": "function", "function": {"name": "convert_to_strings", "description": "Converts a list of numbers to a list of strings, keeping only the numbers that are greater than or equal to 10.", "parameters": {"type": "object", "properties": {"numbers": {"type": "array", "items": {"type": "integer"}, "description": "A ...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "convert_to_strings", "description": "Converts a list of numbers to a list of s...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,923
[{"type": "function", "function": {"name": "simulate_modulo", "description": "Simulates the modulo operation by repeatedly subtracting b from a until a is less than b.", "parameters": {"type": "object", "properties": {"a": {"type": "integer", "description": "The dividend."}, "b": {"type": "integer", "description": "The...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "simulate_modulo", "description": "Simulates the modulo operation by repeatedly...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,924
[{"type": "function", "function": {"name": "contains_word", "description": "Checks if the string `s` contains at least one word from the list `words`.", "parameters": {"type": "object", "properties": {"s": {"type": "string", "description": "The string to search within."}, "words": {"type": "array", "items": {"type": "s...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "contains_word", "description": "Checks if the string `s` contains at least one...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,925
[{"type": "function", "function": {"name": "check_valid_ip", "description": "Checks if a given string is a valid IP address.", "parameters": {"type": "object", "properties": {"ip": {"type": "string", "description": "The string to check for validity as an IP address. A valid IP address consists of exactly four octets, e...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "check_valid_ip", "description": "Checks if a given string is a valid IP addres...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,926
[{"type": "function", "function": {"name": "validate_and_convert_string_to_float", "description": "Validates and converts a string to a float type.", "parameters": {"type": "object", "properties": {"string": {"type": "string", "description": "The string to be converted to float."}}, "required": ["string"]}}}, {"type": ...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "validate_and_convert_string_to_float", "description": "Validates and converts ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,927
[{"type": "function", "function": {"name": "remove_leading_trailing_whitespaces", "description": "Removes all leading and trailing whitespaces from a string.", "parameters": {"type": "object", "properties": {"s": {"type": "string", "description": "The input string from which to remove leading and trailing whitespaces."...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "remove_leading_trailing_whitespaces", "description": "Removes all leading and ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,928
[{"type": "function", "function": {"name": "sum_or_average", "description": "Returns the sum of the numbers in the list, or the sum of the middle element and the average of the remaining elements if the list has an odd number of elements.", "parameters": {"type": "object", "properties": {"numbers": {"type": "array", "i...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "sum_or_average", "description": "Returns the sum of the numbers in the list, o...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,929
[{"type": "function", "function": {"name": "hex_list", "description": "Converts a list of integers to their hexadecimal representation.", "parameters": {"type": "object", "properties": {"numbers": {"type": "array", "items": {"type": "integer"}, "description": "A list of integers in the range [0, 255]."}}, "required": [...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "hex_list", "description": "Converts a list of integers to their hexadecimal re...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,930
[{"type": "function", "function": {"name": "calculate_and_return_hash_value", "description": "Calculates and returns the hash value of the \"id\" attribute for each item in the list.", "parameters": {"type": "object", "properties": {"item_list": {"type": "array", "items": {"type": "object", "additionalProperties": {}},...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "calculate_and_return_hash_value", "description": "Calculates and returns the h...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,931
[{"type": "function", "function": {"name": "is_max_array", "description": "Returns a boolean array indicating if each element is the maximum in the input array.", "parameters": {"type": "object", "properties": {"arr": {"type": "array", "items": {"type": "integer"}, "description": "A list of integers."}}, "required": ["...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "is_max_array", "description": "Returns a boolean array indicating if each elem...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,932
[{"type": "function", "function": {"name": "get_all_students", "description": "Retrieves all students' names from a given database.", "parameters": {"type": "object", "properties": {"db_connection": {"type": "object", "description": "A connection to the SQLite database."}}, "required": ["db_connection"]}}}, {"type": "f...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "get_all_students", "description": "Retrieves all students' names from a given ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,933
[{"type": "function", "function": {"name": "skip_every_third", "description": "Returns a new list with every third element of the original list omitted.", "parameters": {"type": "object", "properties": {"nums": {"type": "array", "items": {"type": "integer"}, "description": "A list of integers from which every third ele...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "skip_every_third", "description": "Returns a new list with every third element...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,934
[{"type": "function", "function": {"name": "get_weapon", "description": "Returns the corresponding weapon for a given player role.", "parameters": {"type": "object", "properties": {"role": {"type": "string", "description": "The role of the player, which can be \"mage\", \"fighter\", or \"thief\"."}}, "required": ["role...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "get_weapon", "description": "Returns the corresponding weapon for a given play...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,935
[{"type": "function", "function": {"name": "convert_xyxy_to_xywh", "description": "Converts a bounding box from (x1, y1, x2, y2) format to (x1, y1, width, height) format.", "parameters": {"type": "object", "properties": {"x1": {"type": "integer", "description": "The x-coordinate of the top-left corner."}, "y1": {"type"...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "convert_xyxy_to_xywh", "description": "Converts a bounding box from (x1, y1, x...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,936
[{"type": "function", "function": {"name": "save_dict_list_to_json", "description": "Saves a list of dictionaries as a JSON file to the current directory.", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "object", "additionalProperties": {"type": "object"}}, "description": "...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "save_dict_list_to_json", "description": "Saves a list of dictionaries as a JSO...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,937
[{"type": "function", "function": {"name": "sum_subsets", "description": "Calculates the sums of all subsets of the given list.", "parameters": {"type": "object", "properties": {"nums": {"type": "array", "items": {"type": "integer"}, "description": "A list of integers."}}, "required": ["nums"]}}}, {"type": "function", ...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "sum_subsets", "description": "Calculates the sums of all subsets of the given ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,938
[{"type": "function", "function": {"name": "apply_constant", "description": "Applies a constant value to every pixel in the image.", "parameters": {"type": "object", "properties": {"image": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "description": "A 2D list representing the image."}, "...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "apply_constant", "description": "Applies a constant value to every pixel in th...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,939
[{"type": "function", "function": {"name": "count_occurrences", "description": "Counts the number of occurrences of an integer `n` in a list `x`.", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "The integer to count occurrences of."}, "x": {"type": "array", "items": {"type": "i...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "count_occurrences", "description": "Counts the number of occurrences of an int...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,940
[{"type": "function", "function": {"name": "scalar_func", "description": "Calculates the scalar function f(m, n) = max(m-n, 0) * n + m.", "parameters": {"type": "object", "properties": {"m": {"type": "integer", "description": "The first integer input."}, "n": {"type": "integer", "description": "The second integer input...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "scalar_func", "description": "Calculates the scalar function f(m, n) = max(m-n...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,941
[{"type": "function", "function": {"name": "get_word_lengths", "description": "Returns a list of integers representing the lengths of each word in the input string.", "parameters": {"type": "object", "properties": {"words_str": {"type": "string", "description": "A comma-separated string of words."}}, "required": ["word...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "get_word_lengths", "description": "Returns a list of integers representing the...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,942
[{"type": "function", "function": {"name": "mean_to_list", "description": "Generates a list of n numbers where the mean of the list is n.", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "The number of elements in the list and the desired mean value."}}, "required": ["n"]}}}, {"...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "mean_to_list", "description": "Generates a list of n numbers where the mean of...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,943
[{"type": "function", "function": {"name": "generate_keys", "description": "Generates a series of keys using a counter for a list of words.", "parameters": {"type": "object", "properties": {"words": {"type": "array", "items": {"type": "string"}, "description": "A list of words for which to generate keys."}}, "required"...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "generate_keys", "description": "Generates a series of keys using a counter for...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,944
[{"type": "function", "function": {"name": "product_array", "description": "Calculates the product of all elements except itself for each element in the array.", "parameters": {"type": "object", "properties": {"nums": {"type": "array", "items": {"type": "integer"}, "description": "A list of integers."}}, "required": ["...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "product_array", "description": "Calculates the product of all elements except ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,945
[{"type": "function", "function": {"name": "calc_radius", "description": "Calculates the approximate horizontal radius of a rectangle defined by two vertices in 3D space.", "parameters": {"type": "object", "properties": {"v1": {"type": "array", "prefixItems": [{"type": "integer"}, {"type": "integer"}, {"type": "integer...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "calc_radius", "description": "Calculates the approximate horizontal radius of ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,946
[{"type": "function", "function": {"name": "product_without_division", "description": "Calculates the product of all other elements except the element at the current index for each element in the list.", "parameters": {"type": "object", "properties": {"numbers": {"type": "array", "items": {"type": "integer"}, "descript...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "product_without_division", "description": "Calculates the product of all other...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,947
[{"type": "function", "function": {"name": "translation_to_bool", "description": "Translates the keys of a dictionary with boolean values to boolean values.", "parameters": {"type": "object", "properties": {"d": {"type": "object", "additionalProperties": {}, "description": "A dictionary with string keys and any type of...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "translation_to_bool", "description": "Translates the keys of a dictionary with...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,948
[{"type": "function", "function": {"name": "format_instance_name", "description": "Formats a string with a specific instance name based on given rules.", "parameters": {"type": "object", "properties": {"instance_name": {"type": "string", "description": "The name of the instance, which can be any string."}, "instance_ty...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "format_instance_name", "description": "Formats a string with a specific instan...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,949
[{"type": "function", "function": {"name": "sum_recursive", "description": "Returns the sum of all integers from 1 to `n`.", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "A positive integer."}}, "required": ["n"]}}}, {"type": "function", "function": {"name": "construct_url", "...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "sum_recursive", "description": "Returns the sum of all integers from 1 to `n`....
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,950
[{"type": "function", "function": {"name": "all_passengers_served", "description": "Determines if all passengers have been served based on a list of entries and exits.", "parameters": {"type": "object", "properties": {"passengers": {"type": "array", "items": {"type": "string"}, "description": "A list of passenger names...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "all_passengers_served", "description": "Determines if all passengers have been...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,951
[{"type": "function", "function": {"name": "generate_xpath_query", "description": "Generates an XPath query for a given list of XML element names.", "parameters": {"type": "object", "properties": {"element_names": {"type": "array", "items": {"type": "string"}, "description": "A list of XML element names."}}, "required"...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "generate_xpath_query", "description": "Generates an XPath query for a given li...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,952
[{"type": "function", "function": {"name": "capitalize_word_list", "description": "Capitalizes the words in the given word list and concatenates them into a string.", "parameters": {"type": "object", "properties": {"word_list": {"type": "array", "items": {"type": "string"}, "description": "A list of words to be capital...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "capitalize_word_list", "description": "Capitalizes the words in the given word...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,953
[{"type": "function", "function": {"name": "format_two_element_tuples", "description": "Formats a list of two-element tuples into a string.\n\nEach tuple contains a string and an integer, and the function returns a string\nin the format: \"String1: Int1, String2: Int2, ..., StringN: IntN\".", "parameters": {"type": "ob...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "format_two_element_tuples", "description": "Formats a list of two-element tupl...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,954
[{"type": "function", "function": {"name": "running_averages", "description": "Calculates the running averages of a list of integers and returns them as string representations.", "parameters": {"type": "object", "properties": {"int_list": {"type": "array", "items": {"type": "integer"}, "description": "A list of integer...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "running_averages", "description": "Calculates the running averages of a list o...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,955
[{"type": "function", "function": {"name": "validate_input", "description": "Validates the input string.", "parameters": {"type": "object", "properties": {"my_str": {"type": "string", "description": "The string to validate."}}, "required": ["my_str"]}}}, {"type": "function", "function": {"name": "percentage_format", "d...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "validate_input", "description": "Validates the input string.", "parameters": {...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,956
[{"type": "function", "function": {"name": "find_common_keys", "description": "Finds the common keys between two dictionaries.", "parameters": {"type": "object", "properties": {"dict1": {"type": "object", "additionalProperties": {"type": "string"}, "description": "The first dictionary."}, "dict2": {"type": "object", "a...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "find_common_keys", "description": "Finds the common keys between two dictionar...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,957
[{"type": "function", "function": {"name": "extract_directory_name_and_parent_path", "description": "Extracts the directory name and the parent directory path from a given path.", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "The path of the directory or file."}}, "required"...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "extract_directory_name_and_parent_path", "description": "Extracts the director...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,958
[{"type": "function", "function": {"name": "extract_sublist", "description": "Returns a new list containing items from the original list located between two indices (inclusive).", "parameters": {"type": "object", "properties": {"lst": {"type": "array", "description": "The original list from which to extract the sublist...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "extract_sublist", "description": "Returns a new list containing items from the...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,959
[{"type": "function", "function": {"name": "prettify_json", "description": "Returns a JSON formatted string representation of the dictionary with four spaces per indentation level.", "parameters": {"type": "object", "properties": {"data": {"type": "object", "description": "The dictionary to be converted to a JSON strin...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "prettify_json", "description": "Returns a JSON formatted string representation...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,960
[{"type": "function", "function": {"name": "detect_occurances", "description": "Detects the number of occurrences of each token in a string.", "parameters": {"type": "object", "properties": {"string": {"type": "string", "description": "The input string where tokens are separated by spaces."}}, "required": ["string"]}}}...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "detect_occurances", "description": "Detects the number of occurrences of each ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,961
[{"type": "function", "function": {"name": "split_and_remove_empty", "description": "Splits a string on spaces and removes empty tokens.", "parameters": {"type": "object", "properties": {"string": {"type": "string", "description": "The input string to be split and filtered."}}, "required": ["string"]}}}, {"type": "func...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "split_and_remove_empty", "description": "Splits a string on spaces and removes...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,962
[{"type": "function", "function": {"name": "remove_substring_from_list", "description": "Removes all occurrences of a search string from a list of strings using list comprehension.", "parameters": {"type": "object", "properties": {"list_of_strings": {"type": "array", "items": {"type": "string"}, "description": "A list ...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "remove_substring_from_list", "description": "Removes all occurrences of a sear...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,963
[{"type": "function", "function": {"name": "replace_string", "description": "Replaces all occurrences of a specific string in a list of strings.", "parameters": {"type": "object", "properties": {"input_list": {"type": "array", "items": {"type": "string"}, "description": "The list of strings to process."}, "target": {"t...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "replace_string", "description": "Replaces all occurrences of a specific string...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,964
[{"type": "function", "function": {"name": "count_terminal_amino_acids", "description": "Counts the number of terminal amino acids in a list of amino acid sequences.\n\nA terminal amino acid is defined as the first amino acid in a sequence that is not a hydrophobic amino acid.\nThe amino acids are represented as a stri...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "count_terminal_amino_acids", "description": "Counts the number of terminal ami...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,965
[{"type": "function", "function": {"name": "remove_multi_spaces", "description": "Replaces multiple whitespace characters in a string with a single whitespace.", "parameters": {"type": "object", "properties": {"s": {"type": "string", "description": "The input string containing multiple whitespace characters."}}, "requi...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "remove_multi_spaces", "description": "Replaces multiple whitespace characters ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,966
[{"type": "function", "function": {"name": "list_to_comma_separated_string", "description": "Converts a list of numbers into a comma-separated string.", "parameters": {"type": "object", "properties": {"num_list": {"type": "array", "items": {"type": "integer"}, "description": "A list of numbers to be converted."}}, "req...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "list_to_comma_separated_string", "description": "Converts a list of numbers in...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,967
[{"type": "function", "function": {"name": "get_percentage", "description": "Calculates the percentage of people who like a given food.", "parameters": {"type": "object", "properties": {"people": {"type": "array", "items": {"type": "object", "additionalProperties": {"type": "string"}}, "description": "A list of diction...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "get_percentage", "description": "Calculates the percentage of people who like ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,968
[{"type": "function", "function": {"name": "grid_indices", "description": "Calculates the grid indices for a given orbital index or list of orbital indices.\nThe grid index is the integer division of the orbital index by 2.", "parameters": {"type": "object", "properties": {"orbital_indices": {"type": ["array", "integer...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "grid_indices", "description": "Calculates the grid indices for a given orbital...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,969
[{"type": "function", "function": {"name": "get_asset_by_name", "description": "Retrieve an asset based on its name.", "parameters": {"type": "object", "properties": {"asset_name": {"type": "string", "description": "The name of the asset to retrieve."}, "assets": {"type": "array", "items": {"type": "object", "additiona...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "get_asset_by_name", "description": "Retrieve an asset based on its name.", "pa...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,970
[{"type": "function", "function": {"name": "standard_to_latex", "description": "Converts a mathematical formula from standard format to LaTeX representation.", "parameters": {"type": "object", "properties": {"standard_formula": {"type": "string", "description": "A string representing the mathematical formula in standar...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "standard_to_latex", "description": "Converts a mathematical formula from stand...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,971
[{"type": "function", "function": {"name": "find_all_integer_values", "description": "Finds all integer values in a JSON string.", "parameters": {"type": "object", "properties": {"json_str": {"type": "string", "description": "The JSON string to parse and traverse."}}, "required": ["json_str"]}}}, {"type": "function", "...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "find_all_integer_values", "description": "Finds all integer values in a JSON s...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,972
[{"type": "function", "function": {"name": "quarter", "description": "Returns the corresponding quarter for a given month.", "parameters": {"type": "object", "properties": {"month": {"type": "integer", "description": "An integer representing the month (1-12)."}}, "required": ["month"]}}}, {"type": "function", "function...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "quarter", "description": "Returns the corresponding quarter for a given month....
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,973
[{"type": "function", "function": {"name": "split_by_last_slash", "description": "Splits a string into two parts at the last occurrence of a slash.", "parameters": {"type": "object", "properties": {"string": {"type": "string", "description": "The input string to split."}}, "required": ["string"]}}}, {"type": "function"...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "split_by_last_slash", "description": "Splits a string into two parts at the la...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,974
[{"type": "function", "function": {"name": "hex_to_tuple", "description": "Converts a hexadecimal string to a 3-tuple of 8-bit integers representing the RGB values.", "parameters": {"type": "object", "properties": {"value": {"type": "string", "description": "A string representing a hexadecimal color, e.g., \"#FFFFFF\"....
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "hex_to_tuple", "description": "Converts a hexadecimal string to a 3-tuple of 8...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,975
[{"type": "function", "function": {"name": "check_rotation", "description": "Determines whether s1 is a rotation of s2.", "parameters": {"type": "object", "properties": {"s1": {"type": "string", "description": "The first string to check."}, "s2": {"type": "string", "description": "The second string to check."}}, "requi...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "check_rotation", "description": "Determines whether s1 is a rotation of s2.", ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,976
[{"type": "function", "function": {"name": "format_gnode_name", "description": "Generates a graph node name based on the given inputs.", "parameters": {"type": "object", "properties": {"graph_id": {"type": "integer", "description": "An integer representing the graph's unique identifier."}, "node_id": {"type": "string",...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "format_gnode_name", "description": "Generates a graph node name based on the g...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,977
[{"type": "function", "function": {"name": "copy_lines", "description": "Copies lines from a source file to a destination file, excluding specified lines.", "parameters": {"type": "object", "properties": {"src_filename": {"type": "string", "description": "The path to the source file."}, "dst_filename": {"type": "string...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "copy_lines", "description": "Copies lines from a source file to a destination ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,978
[{"type": "function", "function": {"name": "sort_and_select_last_col", "description": "Sorts the rows of a 2D array in lexicographic order and selects the last column of each row.", "parameters": {"type": "object", "properties": {"arr": {"type": "array", "items": {"type": "array", "items": {"type": "string"}}, "descrip...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "sort_and_select_last_col", "description": "Sorts the rows of a 2D array in lex...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,979
[{"type": "function", "function": {"name": "bitmask", "description": "Returns a bitmask based on the binary representation of the input number.", "parameters": {"type": "object", "properties": {"num": {"type": "integer", "description": "A non-negative integer to create the bitmask."}, "mask_size": {"type": "integer", "...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "bitmask", "description": "Returns a bitmask based on the binary representation...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,980
[{"type": "function", "function": {"name": "parse_dicts", "description": "Parses a list of strings that represent dictionaries into a list of dictionaries.", "parameters": {"type": "object", "properties": {"strings": {"type": "array", "items": {"type": "string"}, "description": "A list of strings, where each string rep...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "parse_dicts", "description": "Parses a list of strings that represent dictiona...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,981
[{"type": "function", "function": {"name": "format_user_data", "description": "Formats the user data into a string with a specific format.", "parameters": {"type": "object", "properties": {"user_data": {"type": "object", "description": "A dictionary containing user information with keys 'name', 'age', 'address', and 'p...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "format_user_data", "description": "Formats the user data into a string with a ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,982
[{"type": "function", "function": {"name": "min_diff", "description": "Finds the minimum difference between any two elements in a non-empty list of non-negative integers, excluding 0 as a possible minimum value.", "parameters": {"type": "object", "properties": {"nums": {"type": "array", "items": {"type": "integer"}, "d...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "min_diff", "description": "Finds the minimum difference between any two elemen...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,983
[{"type": "function", "function": {"name": "merge_chunks", "description": "Merges a list of text chunks into a single string, separated by a special delimiter string.", "parameters": {"type": "object", "properties": {"chunks": {"type": "array", "items": {"type": "string"}, "description": "A list of text chunks to be me...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "merge_chunks", "description": "Merges a list of text chunks into a single stri...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,984
[{"type": "function", "function": {"name": "check_DNA_sequence_validity", "description": "Checks if a DNA sequence is valid.\n\nA valid DNA sequence should only contain the letters A, C, G, and T (case-insensitive).", "parameters": {"type": "object", "properties": {"sequence": {"type": "string", "description": "The DNA...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "check_DNA_sequence_validity", "description": "Checks if a DNA sequence is vali...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,985
[{"type": "function", "function": {"name": "format_motion_names", "description": "Formats a list of motion names by trimming leading and trailing whitespace, removing special characters,\nand replacing spaces with underscores. If there are duplicate names, it appends an index number to make them unique.", "parameters":...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "format_motion_names", "description": "Formats a list of motion names by trimmi...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,986
[{"type": "function", "function": {"name": "separate_even_odd", "description": "Separates a list of numbers into even and odd numbers.", "parameters": {"type": "object", "properties": {"numbers": {"type": "array", "items": {"type": "integer"}, "description": "A list of integers to be separated."}}, "required": ["number...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "separate_even_odd", "description": "Separates a list of numbers into even and ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,987
[{"type": "function", "function": {"name": "mean_of_dict", "description": "Calculates the mean of a dictionary of numbers.", "parameters": {"type": "object", "properties": {"dictionary": {"type": "object", "additionalProperties": {"type": "number"}, "description": "The dictionary of numbers."}}, "required": ["dictionar...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "mean_of_dict", "description": "Calculates the mean of a dictionary of numbers....
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,988
[{"type": "function", "function": {"name": "split_strings_without_delimiter", "description": "Splits strings into sublists based on the presence of a delimiter.", "parameters": {"type": "object", "properties": {"strings": {"type": "array", "items": {"type": "string"}, "description": "A list of strings to be processed."...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "split_strings_without_delimiter", "description": "Splits strings into sublists...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,989
[{"type": "function", "function": {"name": "format_task_name", "description": "Formats a task name string with the provided values.", "parameters": {"type": "object", "properties": {"task_name": {"type": "string", "description": "The template string containing placeholders in the form [key]."}, "values": {"type": "obje...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "format_task_name", "description": "Formats a task name string with the provide...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,990
[{"type": "function", "function": {"name": "replace_instances", "description": "Replaces all instances of a substring with another string in the given string.", "parameters": {"type": "object", "properties": {"string": {"type": "string", "description": "The original string."}, "substring": {"type": "string", "descripti...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "replace_instances", "description": "Replaces all instances of a substring with...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,991
[{"type": "function", "function": {"name": "increment_dict_values", "description": "Increments each value in the dictionary by 1.", "parameters": {"type": "object", "properties": {"numbers_dict": {"type": "object", "additionalProperties": {"type": "integer"}, "description": "A dictionary with integer keys and integer v...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "increment_dict_values", "description": "Increments each value in the dictionar...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,992
[{"type": "function", "function": {"name": "extend", "description": "Adds elements from right to left.", "parameters": {"type": "object", "properties": {"left": {"type": "array", "description": "The list to which elements will be added."}, "right": {"type": "array", "description": "The list from which elements will be ...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "extend", "description": "Adds elements from right to left.", "parameters": {"t...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,993
[{"type": "function", "function": {"name": "filter_dicts_by_key_value", "description": "Filters a list of dictionaries based on a specified key-value pair.", "parameters": {"type": "object", "properties": {"dicts": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "A list of dict...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "filter_dicts_by_key_value", "description": "Filters a list of dictionaries bas...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,994
[{"type": "function", "function": {"name": "is_collision_detected", "description": "Determines if two boxes overlap in any way.", "parameters": {"type": "object", "properties": {"box1": {"type": "array", "prefixItems": [{"type": "number"}, {"type": "number"}, {"type": "number"}, {"type": "number"}], "description": "A t...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "is_collision_detected", "description": "Determines if two boxes overlap in any...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,995
[{"type": "function", "function": {"name": "calculate_regression_line", "description": "Calculates the parameters of a linear regression line given a set of points.", "parameters": {"type": "object", "properties": {"x": {"type": "array", "items": {"type": "number"}, "description": "A list of x-coordinates."}, "y": {"ty...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "calculate_regression_line", "description": "Calculates the parameters of a lin...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,996
[{"type": "function", "function": {"name": "convert_excel_column_heading_to_index", "description": "Converts an Excel column heading to its corresponding index number.", "parameters": {"type": "object", "properties": {"column_heading": {"type": "string", "description": "A string representing the column heading in an Ex...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "convert_excel_column_heading_to_index", "description": "Converts an Excel colu...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,997
[{"type": "function", "function": {"name": "get_rankings", "description": "Returns the ranking of each element in scores as a list, where scores are compared pairwise and ranked ignoring ties.", "parameters": {"type": "object", "properties": {"scores": {"type": "array", "items": {"type": "integer"}, "description": "A l...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "get_rankings", "description": "Returns the ranking of each element in scores a...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,998
[{"type": "function", "function": {"name": "date_validator", "description": "Validates a date string in the format \"YYYY-MM-DD\" using exception handling.", "parameters": {"type": "object", "properties": {"date_string": {"type": "string", "description": "The date string to validate."}}, "required": ["date_string"]}}},...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "date_validator", "description": "Validates a date string in the format \"YYYY-...
Vikhrmodels/tool-plannings-v0.2:full_dataset
3,999
[{"type": "function", "function": {"name": "update_word_stats", "description": "Updates the word statistics dictionary with the given word.", "parameters": {"type": "object", "properties": {"word_stats": {"type": "object", "additionalProperties": {"type": "integer"}, "description": "A dictionary where keys are words an...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "update_word_stats", "description": "Updates the word statistics dictionary wit...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,000
[{"type": "function", "function": {"name": "truncate_strings", "description": "Truncates strings in a list to a specified length or uses the original string if the truncated string is empty.", "parameters": {"type": "object", "properties": {"strings": {"type": "array", "items": {"type": "string"}, "description": "A lis...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "truncate_strings", "description": "Truncates strings in a list to a specified ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,001
[{"type": "function", "function": {"name": "check_if_string_matches_pattern", "description": "Checks if a string matches a specific pattern defined by a regular expression.", "parameters": {"type": "object", "properties": {"string": {"type": "string", "description": "The string to be checked."}, "pattern": {"type": "st...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "check_if_string_matches_pattern", "description": "Checks if a string matches a...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,002
[{"type": "function", "function": {"name": "format_summary", "description": "Formats a list of tuples into a string with each tuple's elements in the format \"string (integer)\".", "parameters": {"type": "object", "properties": {"data": {"type": "array", "items": {"type": "array", "prefixItems": [{"type": "string"}, {"...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "format_summary", "description": "Formats a list of tuples into a string with e...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,003
[{"type": "function", "function": {"name": "generate_id", "description": "Generates a unique identifier for a string or URL input using the SHA256 hashing algorithm.", "parameters": {"type": "object", "properties": {"input_string": {"type": "string", "description": "The string or URL for which to generate the unique id...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "generate_id", "description": "Generates a unique identifier for a string or UR...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,004
[{"type": "function", "function": {"name": "to_ordinal", "description": "Converts a positive integer `n` to its English ordinal representation.", "parameters": {"type": "object", "properties": {"n": {"type": "integer", "description": "A positive integer to be converted to its ordinal representation."}}, "required": ["n...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "to_ordinal", "description": "Converts a positive integer `n` to its English or...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,005
[{"type": "function", "function": {"name": "aggregate_data_by_school", "description": "Aggregates data points by school.", "parameters": {"type": "object", "properties": {"data_points": {"type": "array", "items": {"type": "object", "additionalProperties": {"type": "integer"}}, "description": "A list of dictionaries, ea...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "aggregate_data_by_school", "description": "Aggregates data points by school.",...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,006
[{"type": "function", "function": {"name": "generate_css_color", "description": "Generates a CSS color string from a hex color string.", "parameters": {"type": "object", "properties": {"hex_color": {"type": "string", "description": "A string representing the color in hex format (without the leading hash)."}}, "required...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "generate_css_color", "description": "Generates a CSS color string from a hex c...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,007
[{"type": "function", "function": {"name": "capitalize_first_names", "description": "Returns a list of all the employees' names with the first name being capitalized.", "parameters": {"type": "object", "properties": {"employee_info": {"type": "array", "items": {"type": "array", "prefixItems": [{"type": "string"}, {"typ...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "capitalize_first_names", "description": "Returns a list of all the employees' ...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,008
[{"type": "function", "function": {"name": "create_name_age_dict", "description": "Creates a dictionary from a list of tuples, where each tuple contains a name and an age.\nFor duplicate names, the youngest age is used.", "parameters": {"type": "object", "properties": {"list_of_tuples": {"type": "array", "items": {"typ...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "create_name_age_dict", "description": "Creates a dictionary from a list of tup...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,009
[{"type": "function", "function": {"name": "generate_json_ld", "description": "Generates a JSON-LD string for a person based on the provided data.", "parameters": {"type": "object", "properties": {"data": {"type": "object", "additionalProperties": {}, "description": "A dictionary containing the data to be merged into t...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "generate_json_ld", "description": "Generates a JSON-LD string for a person bas...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,010
[{"type": "function", "function": {"name": "compact_representation", "description": "Returns a compact string representation of a list of strings.", "parameters": {"type": "object", "properties": {"lst": {"type": "array", "items": {"type": "string"}, "description": "A list of strings to be represented in a compact form...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "compact_representation", "description": "Returns a compact string representati...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,011
[{"type": "function", "function": {"name": "convert_unix_time_to_datetime", "description": "Converts a UNIX time (in seconds) to a human-readable datetime string.", "parameters": {"type": "object", "properties": {"unix_time": {"type": "number", "description": "The UNIX time in seconds."}, "utc": {"type": "boolean", "de...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "convert_unix_time_to_datetime", "description": "Converts a UNIX time (in secon...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,012
[{"type": "function", "function": {"name": "sum_by_key", "description": "Sums the values for each key in a list of tuples.", "parameters": {"type": "object", "properties": {"tuple_list": {"type": "array", "items": {"type": "array", "prefixItems": [{"type": "string"}, {"type": "integer"}]}, "description": "A list of tup...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "sum_by_key", "description": "Sums the values for each key in a list of tuples....
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,013
[{"type": "function", "function": {"name": "custom_dict_to_list", "description": "Converts a dictionary to a list of key-value pairs, where each pair is a tuple (key, value).\n\nThe function validates that the argument is a dictionary and raises a TypeError if it is not.\nIf the dictionary contains a non-string key, th...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "custom_dict_to_list", "description": "Converts a dictionary to a list of key-v...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,014
[{"type": "function", "function": {"name": "sort_counts", "description": "Sorts a list of tuples by the count value in descending order.\nIf two tuples have the same count value, it sorts them alphabetically by the item name.", "parameters": {"type": "object", "properties": {"l": {"type": "array", "items": {"type": "ar...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "sort_counts", "description": "Sorts a list of tuples by the count value in des...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,015
[{"type": "function", "function": {"name": "difference_at_most_1", "description": "Checks if the absolute difference between two integers is at most 1.", "parameters": {"type": "object", "properties": {"x": {"type": "integer", "description": "The first integer."}, "y": {"type": "integer", "description": "The second int...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "difference_at_most_1", "description": "Checks if the absolute difference betwe...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,016
[{"type": "function", "function": {"name": "add_line_numbers", "description": "Adds line numbers to each line in a given string.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The input string to be processed."}}, "required": ["text"]}}}, {"type": "function", "function": {"...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "add_line_numbers", "description": "Adds line numbers to each line in a given s...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,017
[{"type": "function", "function": {"name": "is_valid_variable_name", "description": "Determines if a given identifier is a valid Python variable name.", "parameters": {"type": "object", "properties": {"identifier": {"type": "string", "description": "The identifier to check."}}, "required": ["identifier"]}}}, {"type": "...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "is_valid_variable_name", "description": "Determines if a given identifier is a...
Vikhrmodels/tool-plannings-v0.2:full_dataset
4,018
[{"type": "function", "function": {"name": "list_to_json_string", "description": "Converts a list of objects to a JSON string. If the list is empty,\nreturns a JSON array containing a single empty object (`{}`).", "parameters": {"type": "object", "properties": {"obj_list": {"type": "array", "items": {}, "description": ...
<bos><start_of_turn>system # Tools At each turn you may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"type": "function", "function": {"name": "list_to_json_string", "description": "Converts a list of objects to a JSON str...
Vikhrmodels/tool-plannings-v0.2:full_dataset