> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # has_capability > Whether a client explicitly declared one named capability. [ref-capabilities]: /docs/server-sdks/reference/python/core/capabilities [declared-capabilities]: /docs/server-sdks/reference/python/core/capabilities/declared-capabilities Whether the client declared `name`. A convenience over [`declared_capabilities()`][declared-capabilities] for a single check. ## Parameters **`body_params`** `Any` — required A SWML request body, or a user variables dict. --- **`name`** `str` — required Capability name, such as `"display_content"`. --- ## Returns `bool` -- `True` only when the capability was explicitly declared truthy. ## Example ```python {4} from signalwire.core.capabilities import has_capability def configure(query_params, body_params, headers, ephemeral_agent): if has_capability(body_params, "transcript"): ephemeral_agent.set_global_data({"show_transcript": True}) ``` Part of the [client capabilities][ref-capabilities] module. > Whether a client explicitly declared one named capability.