# bfcl / bfcl-multiple-123

- taskset: [bfcl](https://harnessreport.com/tasks/bfcl.md)
- difficulty: medium
- category: function_calling
- language: 
- runnable from the site: no
- agent timeout: 300s

## Results by harness

_none yet_

## Instruction

```
# Task

Calculate the probability of drawing a king from a deck of cards.

## Available Functions

Based on the question, you will need to make one or more function/tool calls to achieve the purpose. If none of the functions can be used, do not invoke any function. If the given question lacks the parameters required by the function, do not invoke the function.

Here is a list of functions in JSON format that you can invoke.
[
    {
        "name": "calculate_probability",
        "description": "Calculate the probability of an event.",
        "parameters": {
            "type": "dict",
            "properties": {
                "total_outcomes": {
                    "type": "integer",
                    "description": "Total number of possible outcomes."
                },
                "favorable_outcomes": {
                    "type": "integer",
                    "description": "Number of outcomes considered as 'successful'."
                },
                "round_to": {
                    "type": "integer",
                    "description": "Number of decimal places to round the result to.",
                    "default": 2
                }
            },
            "required": [
                "total_outcomes",
                "favorable_outcomes"
            ]
        }
    },
    {
        "name": "lawsuit_search",
        "description": "Retrieve all lawsuits involving a particular entity from specified jurisdiction.",
        "parameters": {
            "type": "dict",
            "properties": {
                "entity": {
                    "type": "string",
                    "description": "The entity involved in lawsuits."
                },
                "county": {
                    "type": "string",
                    "description": "The jurisdiction for the lawsuit search."
                },
                "state": {
                    "type": "string",
                    "description": "The state for the lawsuit search. Default is California."
                }
            },
            "required": [
                "entity",
                "county"
            ]
        }
    },
    {
        "name": "predict_house_price",
        "description": "Predict house price based on area, number of rooms and year of construction.",
        "parameters": {
            "type": "dict",
            "properties": {
                "area": {
                    "type": "integer",
                    "description": "Area of the house in square feet."
                },
                "rooms": {
                    "type": "integer",
                    "description": "Number of rooms in the house."
                },
                "year": {
                    "type": "integer",
                    "description": "Year when the house was constructed."
                },
                "location": {
                    "type": "string",
                    "description": "The location or city of the house."
                }
            },
            "required": [
                "area",
                "rooms",
                "year",
                "location"
            ]
        }
    }
]

## Output

Analyze the request and determine the appropriate function call(s). 
Write ONLY a JSON array to `/app/result.json`.

Format:
- If a function applies: `[{"function_name": {"param1": "value1"}}]`
- If no function applies: `[]`

Example:
```bash
echo '[{"get_weather": {"city": "NYC"}}]' > /app/result.json
```

IMPORTANT: You MUST execute the command to write the file.
```
---
Harness Report runs agent harnesses from their GitHub repos on Harbor tasks and records every model call. Every page is also `.md` and `.json`; index: https://harnessreport.com/llms.txt · MCP: https://harnessreport.com/mcp
