event.agent object. The object is absent when no agent is involved, so existing Actions code is unaffected.
Triggers
event.agent is present in the following triggers:
event.agent object
The event.agent object has the following schema:
event.client is unchanged; it continues to reflect the linked OAuth client that authenticated the request.
Example: custom claims on agent tokens
Useevent.agent in a credentials-exchange Action to add agent context to access tokens: