calculate

expression

type: str

description: The mathematical expression to calculate, such as '2 + 2'.

result

description: The result of the mathematical expression.

domain: retail

frontmatter:
Tool: calculate
Description: Calculate the result of a mathematical expression.
Inputs: expression:str
Outputs: result:str


description: The order id, such as '#W0000000'.

reason

description: The reason for cancellation, either 'no longer needed' or 'ordered by mistake'.

order

type: order

description: The order details after the cancellation.

frontmatter:
Tool: cancel_pending_order
Description: Cancel a pending order and refund its payment.
Inputs: order_id:str, reason:str
Outputs: order:order


description: The order id, such as '#W0000000'.

type: list(str)

description: The item ids to be exchanged.

description: The new item ids to exchange for, matching each old item by position and product.

description: The payment method id to pay or receive the price difference.

description: The order details after the exchange.

frontmatter:
Tool: exchange_delivered_order_items
Description: Exchange items in a delivered order for new items of the same product type.
Inputs: order_id:str, item_ids:list(str), new_item_ids:list(str), payment_method_id:str
Outputs: order:order


description: Find a user id by their email address.

email

description: The email of the user.

description: The user id if found.

frontmatter:
Tool: find_user_id_by_email
Description: Find a user id by their email address.
Inputs: email:str
Outputs: user_id:str


description: The first name of the customer.

description: The last name of the customer.

zip

description: The zip code of the customer.

description: The user id if found.

frontmatter:
Tool: find_user_id_by_name_zip
Description: Find a user id by first name, last name, and zip code.
Inputs: first_name:str, last_name:str, zip:str
Outputs: user_id:str


description: Get the inventory details of an item.

description: The item id, which is different from the product id.

item

type: variant

description: The item details.

frontmatter:
Tool: get_item_details
Description: Get the inventory details of an item.
Inputs: item_id:str
Outputs: item:variant


description: Get the status and details of an order.

description: The order id, such as '#W0000000'.

order

description: The order details.

frontmatter:
Tool: get_order_details
Description: Get the status and details of an order.
Inputs: order_id:str
Outputs: order:order


description: Get the inventory details of a product.

description: The product id, which is different from the item id.

product

type: product

description: The product details.

frontmatter:
Tool: get_product_details
Description: Get the inventory details of a product.
Inputs: product_id:str
Outputs: product:product


description: The user id, such as 'sara_doe_496'.

user

type: user

description: The user details.

frontmatter:
Tool: get_user_details
Description: Get the details of a user, including their orders.
Inputs: user_id:str
Outputs: user:user


description: A JSON string mapping product names to their product ids.

frontmatter:
Tool: list_all_product_types
Description: List the name and product id of all product types.
Outputs: product_types:str


description: The order id, such as '#W0000000'.

description: The first line of the address.

description: The second line of the address, or an empty string.

city

description: The city.

state

description: The state.

country

description: The country.

zip

description: The zip code.

order

description: The order details after the modification.

frontmatter:
Tool: modify_pending_order_address
Description: Modify the shipping address of a pending order.
Inputs: order_id:str, address1:str, address2:str, city:str, state:str, country:str, zip:str
Outputs: order:order


description: The order id, such as '#W0000000'.

description: The item ids to be modified.

description: The new item ids to modify to, matching each old item by position and product.

frontmatter:
Tool: modify_pending_order_items
Description: Modify items in a pending order to new items of the same product type.
Inputs: order_id:str, item_ids:list(str), new_item_ids:list(str), payment_method_id:str
Outputs: order:order


description: The order id, such as '#W0000000'.

description: The payment method id to use for the order.

frontmatter:
Tool: modify_pending_order_payment
Description: Modify the payment method of a pending order.
Inputs: order_id:str, payment_method_id:str
Outputs: order:order


description: Modify the default address of a user.

description: The user id, such as 'sara_doe_496'.

description: The first line of the address.

city

description: The city.

state

description: The state.

country

description: The country.

zip

description: The zip code.

user

description: The user details after the modification.

frontmatter:
Tool: modify_user_address
Description: Modify the default address of a user.
Inputs: user_id:str, address1:str, address2:str, city:str, state:str, country:str, zip:str
Outputs: user:user


description: Return some items of a delivered order.

description: The order id, such as '#W0000000'.

description: The item ids to be returned.

description: The payment method id to receive the refund.

order

description: The order details after requesting the return.

frontmatter:
Tool: return_delivered_order_items
Description: Return some items of a delivered order.
Inputs: order_id:str, item_ids:list(str), payment_method_id:str
Outputs: order:order


summary

description: A summary of the user's issue.

message

description: A message indicating the user has been transferred.

frontmatter:
Tool: transfer_to_human_agents
Description: Transfer the user to a human agent with a summary of their issue.
Inputs: summary:str
Outputs: message:str


description: Find a user id by their phone number.

phone

description: The phone number of the user.

description: The user id if found.

frontmatter:
Tool: find_user_id_by_phone
Description: Find a user id by their phone number.
Inputs: phone:str
Outputs: user_id:str


username

description: The username of the user.

description: The user id if found.

frontmatter:
Tool: find_user_id_by_username
Description: Find a user id by their account username.
Inputs: username:str
Outputs: user_id:str


description: The order id, such as '#W0000000'.

status

description: The current status of the order.

frontmatter:
Tool: get_order_status
Description: Get only the current status label of an order.
Inputs: order_id:str
Outputs: status:str


description: Get the billing invoice for an order.

description: The order id, such as '#W0000000'.

invoice

description: The invoice details for the order.

frontmatter:
Tool: get_order_invoice
Description: Get the billing invoice for an order.
Inputs: order_id:str
Outputs: invoice:str


description: The order id, such as '#W0000000'.

tracking

description: The tracking details for the order.

frontmatter:
Tool: get_order_tracking
Description: Get the carrier tracking information for a shipped order.
Inputs: order_id:str
Outputs: tracking:str


description: The order id, such as '#W0000000'.

reason

description: The reason for the cancellation.

order

description: The order details after cancellation.

frontmatter:
Tool: cancel_delivered_order
Description: Cancel an order that has already been delivered.
Inputs: order_id:str, reason:str
Outputs: order:order


description: The order id, such as '#W0000000'.

description: The item ids to be returned.

description: The order details after the return.

frontmatter:
Tool: return_pending_order_items
Description: Return some items of a pending order before it ships.
Inputs: order_id:str, item_ids:list(str)
Outputs: order:order


description: Get customer reviews for a product.

reviews

description: The customer reviews for the product.

frontmatter:
Tool: get_product_reviews
Description: Get customer reviews for a product.
Inputs: product_id:str
Outputs: reviews:str


category

description: The product category to search within.

products

description: The products found in the category.

frontmatter:
Tool: search_products_by_category
Description: Search for products within a given category.
Inputs: category:str
Outputs: products:str


description: Modify the email address of a user.

description: The user id, such as 'sara_doe_496'.

email

description: The new email address.

frontmatter:
Tool: modify_user_email
Description: Modify the email address of a user.
Inputs: user_id:str, email:str
Outputs: user:user


query

description: The food lookup query.

result

description: The nutrition facts result.

domain: food

frontmatter:
Tool: fetch_nutrition_facts
Description: Fetch the latest nutrition facts from the food service.
Inputs: query:str
Outputs: result:str


query

description: The health lookup query.

description: The step count result.

domain: health

frontmatter:
Tool: search_step_count
Description: Search the health catalog for step count matches.
Inputs: query:str
Outputs: result:str


description: The food lookup query.

result

description: The wine pairing result.

frontmatter:
Tool: fetch_wine_pairing
Description: Fetch the latest wine pairing from the food service.
Inputs: query:str
Outputs: result:str


query

description: The finance lookup query.

description: The exchange rate result.

domain: finance

frontmatter:
Tool: search_exchange_rate
Description: Search the finance catalog for exchange rate matches.
Inputs: query:str
Outputs: result:str


description: The health lookup query.

result

description: The medication dose result.

frontmatter:
Tool: list_medication_dose
Description: List the available medication dose entries for health.
Inputs: query:str
Outputs: result:str


query

description: The finance lookup query.

description: The dividend yield result.

frontmatter:
Tool: fetch_dividend_yield
Description: Fetch the latest dividend yield from the finance service.
Inputs: query:str
Outputs: result:str


description: The iot lookup query.

result

description: The camera feed result.

domain: iot

frontmatter:
Tool: search_camera_feed
Description: Search the iot catalog for camera feed matches.
Inputs: query:str
Outputs: result:str


query

description: The geo lookup query.

description: The population result.

domain: geo

frontmatter:
Tool: list_population
Description: List the available population entries for geo.
Inputs: query:str
Outputs: result:str


description: The sports lookup query.

result

description: The referee name result.

domain: sports

frontmatter:
Tool: search_referee_name
Description: Search the sports catalog for referee name matches.
Inputs: query:str
Outputs: result:str


query

description: The media lookup query.

description: The tv schedule result.

domain: media

frontmatter:
Tool: lookup_tv_schedule
Description: Look up the tv schedule in the media database.
Inputs: query:str
Outputs: result:str


description: The health lookup query.

result

description: The step count result.

frontmatter:
Tool: compute_step_count
Description: Compute the step count for the given health inputs.
Inputs: query:str
Outputs: result:str


query

description: The education lookup query.

description: The tuition fee result.

domain: education

frontmatter:
Tool: fetch_tuition_fee
Description: Fetch the latest tuition fee from the education service.
Inputs: query:str
Outputs: result:str


description: The sports lookup query.

result

description: The stadium capacity result.

frontmatter:
Tool: get_stadium_capacity
Description: Get the stadium capacity for the requested sports query.
Inputs: query:str
Outputs: result:str


query

description: The finance lookup query.

description: The dividend yield result.

frontmatter:
Tool: compute_dividend_yield
Description: Compute the dividend yield for the given finance inputs.
Inputs: query:str
Outputs: result:str


description: The iot lookup query.

result

description: The door lock state result.

frontmatter:
Tool: get_door_lock_state
Description: Get the door lock state for the requested iot query.
Inputs: query:str
Outputs: result:str


query

description: The food lookup query.

description: The menu item result.

frontmatter:
Tool: compute_menu_item
Description: Compute the menu item for the given food inputs.
Inputs: query:str
Outputs: result:str


description: The finance lookup query.

result

description: The dividend yield result.

frontmatter:
Tool: search_dividend_yield
Description: Search the finance catalog for dividend yield matches.
Inputs: query:str
Outputs: result:str


query

description: The travel lookup query.

description: The car rental result.

domain: travel

frontmatter:
Tool: lookup_car_rental
Description: Look up the car rental in the travel database.
Inputs: query:str
Outputs: result:str


description: The health lookup query.

result

description: The sleep score result.

frontmatter:
Tool: search_sleep_score
Description: Search the health catalog for sleep score matches.
Inputs: query:str
Outputs: result:str


query

description: The media lookup query.

description: The review score result.

frontmatter:
Tool: lookup_review_score
Description: Look up the review score in the media database.
Inputs: query:str
Outputs: result:str