Path: blob/master/cloud/data/SDG/seed_data/tool_calling/base_tools.yaml
3909 views
# (c) Copyright IBM Corp. 202512autobot:3calculate_bmi:4description: Calculate the Body Mass Index (BMI)5name: calculate_bmi6parameters:7properties:8height:9description: The height in meters10type: number11weight:12description: The weight in kilograms13type: number14required:15- weight16- height17type: object18is_healthy_by_bmi:19description: Determine whether a person with given BMI is healthy or not20name: is_healthy_by_bmi21parameters:22properties:23bmi:24description: The BMI (body mass index) of a person25type: number26required:27- bmi28type: object29calculate_fahrenheit_to_celsius:30description: Convert given temperature from Fahrenheit to Celsius31name: calculate_fahrenheit_to_celsius32parameters:33properties:34temperature:35description: The temperature in Fahrenheit36type: number37required:38- temperature39type: object40calculate_circle_area:41description: Calculate the area of a circle42name: calculate_circle_area43parameters:44properties:45radius:46description: The radius of the circle47type: number48required:49- radius50type: object51calculate_circle_circumference:52description: Calculate the circumference of a circle53name: calculate_circle_circumference54parameters:55properties:56radius:57description: The radius of the circle58type: number59required:60- radius61type: object62calculate_discount:63description: Calculate the discounted price of an item64name: calculate_discount65parameters:66properties:67discount_percentage:68description: The percentage of discount69type: number70maximum_retail_price:71description: The maximum retail price of the product (i.e the original price)72type: number73required:74- maximum_retail_price75- discount_percentage76type: object77calculate_loan_payment:78description: Calculate the monthly loan payment79name: calculate_loan_payment80parameters:81properties:82interest_rate:83description: The annual interest rate of the loan84type: number85term:86description: The loan term in years87type: integer88principal:89description: The principal amount of the loan90type: number91required:92- principal93- interest_rate94- term95type: object96calculate_repayment_schedule:97description: Calculate the loan repayment schedule for a given loan98name: calculate_repayment_schedule99parameters:100properties:101interest_rate:102description: The annual interest rate103type: number104loan_amount:105description: The amount of the loan106type: number107loan_term:108description: The loan term in years109type: number110required:111- loan_amount112- interest_rate113- loan_term114type: object115find_books:116description: Search books based on given attributes117name: find_books118parameters:119properties:120author:121description: The author of the book122type: string123genre:124description: The genre of the book125type: string126title:127description: The title of the book128type: string129type: object130131132