The context passed to an AshAi.Tool.ResultMeta callback.
:tool- the%AshAi.Tool{}that was called:arguments- the call's arguments (string keys), after anytool_argument_transformer:actor,:tenant,:context- what the action ran with:client_capabilities- the capabilities the client declared on the request. Only the 2026-07-28 revision sends them with each request;nilon earlier revisions, where they are unknown here.
Summary
Types
@type t() :: %AshAi.Tool.ResultMeta.Context{ actor: term(), arguments: map(), client_capabilities: map() | nil, context: map(), tenant: term(), tool: %AshAi.Tool{ __spark_metadata__: term(), _meta: term(), action: term(), action_parameters: term(), aggregatable_fields: term(), annotations: term(), arguments: term(), async: term(), compact_field_list?: term(), description: term(), domain: term(), filterable_fields: term(), full_filter_schema?: term(), get_by: term(), identity: term(), load: term(), load_strict?: term(), name: term(), output_schema?: term(), read_action: term(), resource: term(), result_meta: term(), select: term(), sortable_fields: term(), title: term(), ui: term() } }