# MCP: identity

Source: <https://telegafirst.com/docs/mcp-identity>
Locale: ru
releaseGitSha: c9a428d902de0b479a981e43774f38b9ec077ed7
sourceContentDigest: 10d54c70aefe480d1fda2f4458f3cc8c80976f88f39aa9b6669a2ef31394aa2f
Version: 1

# MCP: identity

Это определения инструментов из текущего ToolRegistry, включая полные inputSchema/outputSchema, scope, required\_scopes (ALL), risk и версию платформы. Наличие определения не означает, что инструмент уже установлен вашим хостом или разрешён вашим credential. Обновляйте tools/list после изменения бизнеса, readiness и прав. Progressive disclosure через load\_domain/describe\_tool и существующий meta-dispatch описаны в [MCP-руководстве](https://telegafirst.com/docs/mcp-guide). [Scopes и права](https://telegafirst.com/docs/scopes-and-permissions) применяются при вызове; risk не заменяет согласие и отдельные требования денежной операции. JSON ниже — схема, а не успешный результат вызова.

## get\_active\_bot

Return the bot this session is currently acting as: { slug, bot\_username }.

```json
{
  "description": "Return the bot this session is currently acting as: { slug, bot_username }.",
  "domain": "identity",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {},
    "type": "object"
  },
  "name": "get_active_bot",
  "outputSchema": null,
  "platform_version": "1.0.19",
  "required_scopes": [
    "identity:read"
  ],
  "risk": "read",
  "scope": "identity:read",
  "title": "Get Active Bot"
}
```

## list\_accessible\_bots

List the bots you can act as (owned or operated): slug, bot\_username, name. Use before switch\_active\_bot.

```json
{
  "description": "List the bots you can act as (owned or operated): slug, bot_username, name. Use before switch_active_bot.",
  "domain": "identity",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {},
    "type": "object"
  },
  "name": "list_accessible_bots",
  "outputSchema": null,
  "platform_version": "1.0.19",
  "required_scopes": [
    "identity:read"
  ],
  "risk": "read",
  "scope": "identity:read",
  "title": "List Accessible Bots"
}
```

## switch\_active\_bot

Switch your active bot to slug (one of list\_accessible\_bots), then re-read tools/list. Moves every connection of yours and the bot you see in the platform bot chat.

```json
{
  "description": "Switch your active bot to slug (one of list_accessible_bots), then re-read tools/list. Moves every connection of yours and the bot you see in the platform bot chat.",
  "domain": "identity",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "bot": {
        "description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
        "maxLength": 128,
        "minLength": 1,
        "type": "string"
      },
      "slug": {
        "description": "Value for slug.",
        "maxLength": 128,
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "slug"
    ],
    "type": "object"
  },
  "name": "switch_active_bot",
  "outputSchema": null,
  "platform_version": "1.0.19",
  "required_scopes": [
    "identity:write"
  ],
  "risk": "write",
  "scope": "identity:write",
  "title": "Switch Active Bot"
}
```
