Get tenant scoping context
get_tenant_contextRetrieve the tenant or account scope attributed to the current API call. Use this to verify which multi-tenant context the server assigned to your session.
Instructions
Return the multi-tenant scoping context of the current call.
Use this to confirm which tenant/account scope the server attributes
the session to. On the streamable-HTTP transport (D7, #42) the
``tenant`` field carries the value of the optional
``Camt053-Account`` request header the caller sent; over stdio (or
when the caller sent no header) it is ``None``. The same value is
stamped as the ``scope`` on the server's audit log, so an agent can
verify its calls are attributed to the right tenant.
The lookup is read-only and deterministic for a given request:
nothing is validated or mutated, and no external system is touched.
Args:
ctx: The FastMCP Context (auto-injected; carries the underlying
HTTP request, when there is one).
Returns:
``{"service": "camt053-mcp", "tenant": str | None}``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||