AIToolCallPart
A tool the agent called, run by the agent's backend or by a person's device.
Parameters
The model provider's tool-call ID. A device's result is matched against it.
The tool's name, as the agent declared it.
What the call is doing, in words for people, such as "Checking your location".
Where the call is. Defaults to Status.Running when the agent sends none.
Who runs the tool. Defaults to Executor.Server when the agent sends none.
The person whose device must run a client tool.
The install that must run a client tool, from the custom data of the person's triggering message.
The call's arguments as JSON text with sorted keys, present for client tools, which need them to run. Every channel member can see them.
A short, shareable outcome, such as "Found your location".
How long the call took, in milliseconds.
What the call asks the person it waits for before it runs, and how they answered, when its tool asks first.
The sign-in the call waits for the person to finish before it runs, and how it ended, when it needs their account at a provider.
Constructors
Properties
How long the call took, in seconds.
Whether the person declined the call, or the sign-in it waited for, so it never ran.
Functions
Whether this call is waiting for this device: a client tool, still awaiting its result, targeted at this person and this install.
Whether this call is waiting for this person to allow it, on this device: still awaiting approval, targeted at this person, and at this install when it names one (a client tool does; a server tool's question may be answered from any of their devices).
Whether this call is waiting for this person to sign in at a provider it needs: still awaiting authorization, with a sign-in, and targeted at this person. They may sign in from any of their devices.