> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# commerceAgentCapabilities

> What the Commerce Agent is set up to do, one entry per capability the Playbook's Capabilities page lists, with whether it is available and a warning when it works only in part or cannot work for a stated reason. Shop Pay is listed only for a store that has it, and while Shop is still checking the store its warning says so: ask again. Each entry reflects that capability's own setup, not whether the agent is on: an agent that is off or never published still shows a capability as available when the store has it set up, so read `enabled` on `commerceAgentConfig` to know whether the agent is on. Unlike `commerceAgentConfig`, this runs the live checks behind each capability on every call, so ask only when you need setup. Reading never changes any setting. Null when the store cannot be found.

**Required scopes:** [`commerce_agent_settings_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-commerce_agent_settings_read)

## Returns

**commerceAgentCapabilities** `[\[CommerceAgentCapabilityReadiness!\]](/docs/api-reference/v3/reference/commerce-agent/commerce-agent-capability-readiness)`

Whether one thing the Commerce Agent does is set up, as the Playbook's Capabilities page shows it. It follows other products' settings, so nothing here is edited on this type.

**fields**

**available** `Boolean!` *required*

Whether the store has this set up. It does not say the agent is on: read `enabled` on `commerceAgentConfig` for that.

**capability** `[CommerceAgentCapabilityKind!](/docs/api-reference/v3/reference/commerce-agent/commerce-agent-capability-kind)` *required*

What the agent can do.

**warning** `String`

Why it works only in part, such as the order edits the store turned off, or why it is unavailable. Null when there is nothing to add.

## Example

```graphql theme={null}
query {
  commerceAgentCapabilities {
    available
    capability
    warning
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.