tools listlengths 1 4 | messages listlengths 3 9 |
|---|---|
[
{
"name": "get_weather",
"description": "Get the current weather conditions for a city",
"parameters": {
"type": "dict",
"properties": {
"city": {
"type": "str",
"description": "City name, e.g. 'Paris' or '北京'"
},
"unit": {
"type": "str",... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "stock_price",
"description": "Fetch the latest stock price for a ticker symbol",
"parameters": {
"type": "dict",
"properties": {
"symbol": {
"type": "str",
"description": "Ticker symbol, e.g. 'AAPL' or 'MSFT'"
},
"format": {
"t... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "Find Quotes",
"description": "Find famous quotes that match a keyword",
"parameters": {
"type": "dict",
"properties": {
"keyword": {
"type": "str",
"description": "Keyword to match the quotes against"
},
"limit": {
"type": "int... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "evaluate_expression",
"description": "Evaluate a mathematical expression and return the numeric result",
"parameters": {
"type": "dict",
"properties": {
"expression": {
"type": "str",
"description": "The expression to evaluate, e.g. '12*(3+4)'"
... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "Zip Code Details",
"description": "Look up city and county information for a US ZIP code",
"parameters": {
"type": "dict",
"properties": {
"postal_code": {
"type": "str",
"description": "5-digit US ZIP code"
},
"country": {
"ty... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "search_flights",
"description": "Search one-way flights between two airports",
"parameters": {
"type": "dict",
"properties": {
"origin": {
"type": "str",
"description": "Origin airport code"
},
"destination": {
"type": "str",
... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "get_weather",
"description": "Get the current weather conditions for a city",
"parameters": {
"type": "dict",
"properties": {
"city": {
"type": "str",
"description": "City name, e.g. 'Paris' or '北京'"
},
"unit": {
"type": "str",... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "evaluate_expression",
"description": "Evaluate a mathematical expression and return the numeric result",
"parameters": {
"type": "dict",
"properties": {
"expression": {
"type": "str",
"description": "The expression to evaluate, e.g. '12*(3+4)'"
... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "get_route",
"description": "Get a travel route between two places",
"parameters": {
"type": "dict",
"properties": {
"origin": {
"type": "str",
"description": "Starting address or point of interest"
},
"destination": {
"type": "... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "convert_currency",
"description": "Convert an amount between two currencies using the latest exchange rates",
"parameters": {
"type": "dict",
"properties": {
"amount": {
"type": "float",
"description": "Amount of money to convert"
},
"fr... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "send_email",
"description": "Send an email on the user's behalf",
"parameters": {
"type": "dict",
"properties": {
"to": {
"type": "str",
"description": "Recipient email address"
},
"subject": {
"type": "str",
"descrip... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "create_calendar_event",
"description": "Create an event on the user's calendar",
"parameters": {
"type": "dict",
"properties": {
"title": {
"type": "str",
"description": "Title of the event"
},
"start": {
"type": "str",
... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "get_weather",
"description": "Get the current weather conditions for a city",
"parameters": {
"type": "dict",
"properties": {
"city": {
"type": "str",
"description": "City name, e.g. 'Paris' or '北京'"
},
"unit": {
"type": "str",... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "sports_scores",
"description": "Get final scores for a league on a given date",
"parameters": {
"type": "dict",
"properties": {
"league": {
"type": "str",
"description": "League code, e.g. 'nba' or 'epl'"
},
"date": {
"type": "... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "image_search",
"description": "Search the web for images matching a query",
"parameters": {
"type": "dict",
"properties": {
"query": {
"type": "str",
"description": "Search query describing the desired images"
},
"safe_search": {
... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "get_route",
"description": "Get a travel route between two places",
"parameters": {
"type": "dict",
"properties": {
"origin": {
"type": "str",
"description": "Starting address or point of interest"
},
"destination": {
"type": "... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "crypto_price",
"description": "Get the current market price of a cryptocurrency",
"parameters": {
"type": "dict",
"properties": {
"coin": {
"type": "str",
"description": "Coin identifier such as 'bitcoin' or 'ethereum'"
},
"vs_currency":... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "translate_text",
"description": "Translate a piece of text between languages",
"parameters": {
"type": "dict",
"properties": {
"text": {
"type": "str",
"description": "The text to translate"
},
"target_language": {
"type": "str... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "get_weather",
"description": "Get the current weather conditions for a city",
"parameters": {
"type": "dict",
"properties": {
"city": {
"type": "str",
"description": "City name, e.g. 'Paris' or '北京'"
},
"unit": {
"type": "str",... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "get_time",
"description": "Get the current local time for an IANA timezone",
"parameters": {
"type": "dict",
"properties": {
"timezone": {
"type": "str",
"description": "IANA timezone identifier such as 'Asia/Shanghai'"
}
},
"require... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "play_music",
"description": "Play music matching the given filters",
"parameters": {
"type": "dict",
"properties": {
"track": {
"type": "str",
"description": "Track title to look for",
"default": ""
},
"artist": {
"ty... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "stock_price",
"description": "Fetch the latest stock price for a ticker symbol",
"parameters": {
"type": "dict",
"properties": {
"symbol": {
"type": "str",
"description": "Ticker symbol, e.g. 'AAPL' or 'MSFT'"
},
"format": {
"t... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "stock_price",
"description": "Fetch the latest stock price for a ticker symbol",
"parameters": {
"type": "dict",
"properties": {
"symbol": {
"type": "str",
"description": "Ticker symbol, e.g. 'AAPL' or 'MSFT'"
},
"format": {
"t... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "get_weather",
"description": "Get the current weather conditions for a city",
"parameters": {
"type": "dict",
"properties": {
"city": {
"type": "str",
"description": "City name, e.g. 'Paris' or '北京'"
},
"unit": {
"type": "str",... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "search_flights",
"description": "Search one-way flights between two airports",
"parameters": {
"type": "dict",
"properties": {
"origin": {
"type": "str",
"description": "Origin airport code"
},
"destination": {
"type": "str",
... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "get_time",
"description": "Get the current local time for an IANA timezone",
"parameters": {
"type": "dict",
"properties": {
"timezone": {
"type": "str",
"description": "IANA timezone identifier such as 'Asia/Shanghai'"
}
},
"require... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "Find Quotes",
"description": "Find famous quotes that match a keyword",
"parameters": {
"type": "dict",
"properties": {
"keyword": {
"type": "str",
"description": "Keyword to match the quotes against"
},
"limit": {
"type": "int... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "get_weather",
"description": "Get the current weather conditions for a city",
"parameters": {
"type": "dict",
"properties": {
"city": {
"type": "str",
"description": "City name, e.g. 'Paris' or '北京'"
},
"unit": {
"type": "str",... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "air_quality",
"description": "Get the air quality index (空气质量指数) for a city",
"parameters": {
"type": "dict",
"properties": {
"city": {
"type": "str",
"description": "City to check the air quality for"
},
"pollutant": {
"type":... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
[
{
"name": "get_route",
"description": "Get a travel route between two places",
"parameters": {
"type": "dict",
"properties": {
"origin": {
"type": "str",
"description": "Starting address or point of interest"
},
"destination": {
"type": "... | [
{
"role": "system",
"content": "You are an expert in composing functions. You have access to a collection of tools listed in the tools field. When a question can be answered with the provided tools, call them with the correct arguments instead of guessing. Do not fabricate tool outputs."
},
{
"role"... |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
ToolACE (tool-calling conversations)
A cleaned-up mirror of the ToolACE function-calling corpus. Every line of
data/train.jsonl is one JSON object describing a full conversation.
Entry format
messages: list of turns.- The first message is always a
systemmessage with boilerplate about how to use tools (the tool definitions themselves are NOT embedded there). - Assistant messages that invoke tools carry
tool_calls: a list of{id, type: "function", function: {name, arguments}}objects, whereargumentsis already a JSON object (not a string). - Tool results come back as
{role: "tool", tool_call_id, content}messages, wheretool_call_idreferences the originating call.
- The first message is always a
tools: list of tool definitions, each withname,descriptionandparameters.parametersis an object withtype(dictfor object containers),properties(parameter name ->{type, description}plus an optionaldefault) andrequired. Parameter types use the short spellingsstr,int,float,bool,list,dict.
Files
data/train.jsonl- all examples.
Total examples: 30
- Downloads last month
- 34