# `AshAi.McpResource.Contents.Context`
[🔗](https://github.com/ash-project/ash_ai/blob/v1.5.6/lib/ash_ai/mcp_resource/contents.ex#L44)

The context passed to an `AshAi.McpResource.Contents` callback.

  * `:mcp_resource` - the `%AshAi.McpResource{}` that was read
  * `:uri` - the URI that was read
  * `:arguments` - the arguments the action ran with (string keys),
    including those taken from a URI template
  * `:actor`, `:tenant`, `:context` - what the action ran with

# `t`

```elixir
@type t() :: %AshAi.McpResource.Contents.Context{
  actor: term(),
  arguments: map(),
  context: map(),
  mcp_resource: AshAi.McpResource.t(),
  tenant: term(),
  uri: String.t()
}
```

---

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