id string | query string | answers list | tools list |
|---|---|---|---|
train-00000 | Give me the current prices of BTC and ETH, please. | [
{
"tool_name": "crypto_price",
"arguments": {
"coin": "bitcoin"
}
},
{
"tool_name": "crypto_price",
"arguments": {
"coin": "ethereum"
}
}
] | [
{
"name": "crypto_price",
"description": "Get the current market price of a cryptocurrency",
"parameters": {
"coin": {
"type": "str",
"description": "Coin identifier such as 'bitcoin' or 'ethereum'"
},
"vs_currency": {
"type": "str",
"description": "Fiat... |
train-00001 | What's the weather in Reykjavík? | [
{
"tool_name": "get_weather",
"arguments": {
"city": "Reykjavík"
}
}
] | [
{
"name": "get_weather",
"description": "Get the current weather conditions for a city",
"parameters": {
"city": {
"type": "str",
"description": "City name, e.g. 'Paris' or '北京'"
},
"unit": {
"type": "str",
"description": "Temperature unit for the report... |
train-00002 | What time is it in America/Sao_Paulo? | [
{
"tool_name": "get_time",
"arguments": {
"timezone": "America/Sao_Paulo"
}
}
] | [
{
"name": "get_time",
"description": "Get the current local time for an IANA timezone",
"parameters": {
"timezone": {
"type": "str",
"description": "IANA timezone identifier such as 'Asia/Shanghai'"
}
}
}
] |
train-00003 | Tell me a fun fact about pangolins. | [] | [
{
"name": "play_music",
"description": "Play music matching the given filters",
"parameters": {
"track": {
"type": "str",
"description": "Track title to look for",
"default": ""
},
"artist": {
"type": "str",
"description": "Artist name to look fo... |
train-00004 | How much is a share of Microsoft right now? | [
{
"tool_name": "stock_price",
"arguments": {
"symbol": "MSFT"
}
}
] | [
{
"name": "stock_price",
"description": "Fetch the latest stock price for a ticker symbol",
"parameters": {
"symbol": {
"type": "str",
"description": "Ticker symbol, e.g. 'AAPL' or 'MSFT'"
},
"format": {
"type": "str",
"description": "Response format, ei... |
train-00005 | Convert 99 US dollars to Canadian dollars for me. | [
{
"tool_name": "convert_currency",
"arguments": {
"amount": 99,
"from_currency": "USD",
"to_currency": "CAD"
}
}
] | [
{
"name": "convert_currency",
"description": "Convert an amount between two currencies using the latest exchange rates",
"parameters": {
"amount": {
"type": "float",
"description": "Amount of money to convert"
},
"from_currency": {
"type": "str",
"descri... |
train-00006 | What is 7 times 8 minus 5? | [
{
"tool_name": "evaluate_expression",
"arguments": {
"expression": "7*8-5"
}
}
] | [
{
"name": "evaluate_expression",
"description": "Evaluate a mathematical expression and return the numeric result",
"parameters": {
"expression": {
"type": "str",
"description": "The expression to evaluate, e.g. '12*(3+4)'"
},
"precision": {
"type": "int",
... |
train-00007 | Email booking@example.com with subject 'Late checkout' and body 'May we keep the room until 2pm?' | [
{
"tool_name": "send_email",
"arguments": {
"to": "booking@example.com",
"subject": "Late checkout",
"body": "May we keep the room until 2pm?"
}
}
] | [
{
"name": "send_email",
"description": "Send an email on the user's behalf",
"parameters": {
"to": {
"type": "str",
"description": "Recipient email address"
},
"subject": {
"type": "str",
"description": "Subject line of the email"
},
"body": ... |
train-00008 | Find flights from BER to AMS on 2026-03-09 for 3 passengers, max $400. | [
{
"tool_name": "search_flights",
"arguments": {
"origin": "BER",
"destination": "AMS",
"date": "2026-03-09",
"passengers": 3,
"max_price": 400
}
}
] | [
{
"name": "search_flights",
"description": "Search one-way flights between two airports",
"parameters": {
"origin": {
"type": "str",
"description": "Origin airport code"
},
"destination": {
"type": "str",
"description": "Destination airport code"
}... |
train-00009 | Book a 5-star hotel in Vienna from 2026-09-14 to 2026-09-17. | [
{
"tool_name": "book_hotel",
"arguments": {
"city": "Vienna",
"checkin": "2026-09-14",
"checkout": "2026-09-17",
"stars": 5
}
}
] | [
{
"name": "book_hotel",
"description": "Reserve a hotel room for a date range",
"parameters": {
"city": {
"type": "str",
"description": "City to book the stay in"
},
"checkin": {
"type": "str",
"description": "Check-in date in YYYY-MM-DD format"
},... |
train-00010 | How do I walk from Gare du Nord to the Louvre? | [
{
"tool_name": "get_route",
"arguments": {
"origin": "Gare du Nord",
"destination": "the Louvre",
"mode": "walking"
}
}
] | [
{
"name": "get_route",
"description": "Get a travel route between two places",
"parameters": {
"origin": {
"type": "str",
"description": "Starting address or point of interest"
},
"destination": {
"type": "str",
"description": "Destination address or poi... |
train-00011 | Translate 'The cat sat on the mat' into German. | [
{
"tool_name": "translate_text",
"arguments": {
"text": "The cat sat on the mat",
"target_language": "de"
}
}
] | [
{
"name": "translate_text",
"description": "Translate a piece of text between languages",
"parameters": {
"text": {
"type": "str",
"description": "The text to translate"
},
"target_language": {
"type": "str",
"description": "Target language code, e.g. 'f... |
train-00012 | Play some lo-fi beats. | [
{
"tool_name": "play_music",
"arguments": {
"genre": "lo-fi"
}
}
] | [
{
"name": "play_music",
"description": "Play music matching the given filters",
"parameters": {
"track": {
"type": "str",
"description": "Track title to look for",
"default": ""
},
"artist": {
"type": "str",
"description": "Artist name to look fo... |
train-00013 | Who won in the NHL on 2026-02-08? | [
{
"tool_name": "sports_scores",
"arguments": {
"league": "nhl",
"date": "2026-02-08"
}
}
] | [
{
"name": "sports_scores",
"description": "Get final scores for a league on a given date",
"parameters": {
"league": {
"type": "str",
"description": "League code, e.g. 'nba' or 'epl'"
},
"date": {
"type": "str, optional",
"description": "Match date in YY... |
train-00014 | Schedule 'Dentist' from 2026-12-01T09:00 to 2026-12-01T09:45 at 'Smile Clinic'. | [
{
"tool_name": "create_calendar_event",
"arguments": {
"title": "Dentist",
"start": "2026-12-01T09:00",
"end": "2026-12-01T09:45",
"location": "Smile Clinic"
}
}
] | [
{
"name": "create_calendar_event",
"description": "Create an event on the user's calendar",
"parameters": {
"title": {
"type": "str",
"description": "Title of the event"
},
"start": {
"type": "str",
"description": "Start time of the event in ISO 8601 for... |
train-00015 | Find me pictures of the Sagrada Família. | [
{
"tool_name": "image_search",
"arguments": {
"query": "Sagrada Família"
}
}
] | [
{
"name": "image_search",
"description": "Search the web for images matching a query",
"parameters": {
"query": {
"type": "str",
"description": "Search query describing the desired images"
},
"safe_search": {
"type": "bool",
"description": "Whether to fi... |
train-00016 | What city is ZIP 02138? | [
{
"tool_name": "Zip Code Details",
"arguments": {
"postal_code": "02138"
}
}
] | [
{
"name": "Zip Code Details",
"description": "Look up city and county information for a US ZIP code",
"parameters": {
"postal_code": {
"type": "str",
"description": "5-digit US ZIP code"
},
"country": {
"type": "str",
"description": "ISO country code for... |
train-00017 | How's the air quality in Ulaanbaatar? | [
{
"tool_name": "air_quality",
"arguments": {
"city": "Ulaanbaatar"
}
}
] | [
{
"name": "air_quality",
"description": "Get the air quality index (空气质量指数) for a city",
"parameters": {
"city": {
"type": "str",
"description": "City to check the air quality for"
},
"pollutant": {
"type": "str, optional",
"description": "Restrict the r... |
train-00018 | Suggest a good name for a sourdough starter. | [] | [
{
"name": "evaluate_expression",
"description": "Evaluate a mathematical expression and return the numeric result",
"parameters": {
"expression": {
"type": "str",
"description": "The expression to evaluate, e.g. '12*(3+4)'"
},
"precision": {
"type": "int",
... |
train-00019 | I need both the weather and the air quality in Seoul right now. | [
{
"tool_name": "get_weather",
"arguments": {
"city": "Seoul"
}
},
{
"tool_name": "air_quality",
"arguments": {
"city": "Seoul"
}
}
] | [
{
"name": "get_weather",
"description": "Get the current weather conditions for a city",
"parameters": {
"city": {
"type": "str",
"description": "City name, e.g. 'Paris' or '北京'"
},
"unit": {
"type": "str",
"description": "Temperature unit for the report... |
train-00020 | Look up the ZIP code 10001 and tell me the city. | [
{
"tool_name": "Zip Code Details",
"arguments": {
"postal_code": "10001",
"country": "us"
}
}
] | [
{
"name": "Zip Code Details",
"description": "Look up city and county information for a US ZIP code",
"parameters": {
"postal_code": {
"type": "str",
"description": "5-digit US ZIP code"
},
"country": {
"type": "str",
"description": "ISO country code for... |
train-00021 | Give me the current prices of BTC and ETH, please. | [
{
"tool_name": "crypto_price",
"arguments": {
"coin": "bitcoin"
}
},
{
"tool_name": "crypto_price",
"arguments": {
"coin": "ethereum"
}
}
] | [
{
"name": "crypto_price",
"description": "Get the current market price of a cryptocurrency",
"parameters": {
"coin": {
"type": "str",
"description": "Coin identifier such as 'bitcoin' or 'ethereum'"
},
"vs_currency": {
"type": "str",
"description": "Fiat... |
train-00022 | Is it windy in Wellington? | [
{
"tool_name": "get_weather",
"arguments": {
"city": "Wellington"
}
}
] | [
{
"name": "get_weather",
"description": "Get the current weather conditions for a city",
"parameters": {
"city": {
"type": "str",
"description": "City name, e.g. 'Paris' or '北京'"
},
"unit": {
"type": "str",
"description": "Temperature unit for the report... |
train-00023 | Convert 5000 Japanese yen to euros. | [
{
"tool_name": "convert_currency",
"arguments": {
"amount": 5000,
"from_currency": "JPY",
"to_currency": "EUR"
}
}
] | [
{
"name": "convert_currency",
"description": "Convert an amount between two currencies using the latest exchange rates",
"parameters": {
"amount": {
"type": "float",
"description": "Amount of money to convert"
},
"from_currency": {
"type": "str",
"descri... |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
xlam-function-calling-60k
A mirror of the XLAM function-calling dataset. Every line of the data files is one JSON object.
Entry format
id: string identifier of the row.query: the user's question.answers: list of function invocations the gold assistant performs, each{tool_name, arguments}(arguments is a JSON object). An empty list means the assistant answered without calling any tool.tools: list of tool definitions, each{name, description, parameters}whereparametersis a FLAT mapping of parameter name ->{type, description}plus an optionaldefault(which may benull). Types use Python-ish spellings such asstr,int,float,list; optional parameters carry a comma-separated annotation likestr, optionalor an explicitdefault.
Files
data/train.jsonl- 24 examples (process first).data/validation.jsonl- 12 examples (process second).
Total examples: 36
- Downloads last month
- -