# `AshAi.Tool.ResultMeta.Context`
[🔗](https://github.com/ash-project/ash_ai/blob/v1.5.6/lib/ash_ai/tool/result_meta.ex#L45)

The context passed to an `AshAi.Tool.ResultMeta` callback.

  * `:tool` - the `%AshAi.Tool{}` that was called
  * `:arguments` - the call's arguments (string keys), after any
    `tool_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;
    `nil` on earlier revisions, where they are unknown here.

# `t`

```elixir
@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()
  }
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
