Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        Opening Building with language models
        Your turn

        Function calling and tool results

        Caller responsibility

        A returned function call is a request for your application to execute a tool. In the official function-calling guide, checked November 14, 2026, the application supplies the tool result with the matching call_id. The model does not execute your local function by naming it.

        Suppose a fictional dispatch assistant requests two shipment lookups. The second finishes first. Associate each result with its own call ID, not its arrival position, or one customer’s status can answer another customer’s question. Validate the arguments before either lookup runs.

        Execution gates

        Keep an allowlist of callable tools and reject an invented name. A read tool and a dispatch-changing tool need different permissions. Approval for one payload does not authorize changed arguments; compare the exact request before a write.

        The notebook uses local original functions and prepared calls. It has no provider connection or real dispatch service. Continue with tool schemas, allowed dispatch and exact approval.

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        or

        You can keep practicing without an account.

        Change your plan

        Checking the price

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.