К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-partner.mdиндекс документации — /llms.txt

MCP: partner

Обновлено

MCP: partner

Это определения инструментов из текущего ToolRegistry, включая полные inputSchema/outputSchema, scope, required_scopes (ALL), risk и версию платформы. Наличие определения не означает, что инструмент уже установлен вашим хостом или разрешён вашим credential. Обновляйте tools/list после изменения бизнеса, readiness и прав. Progressive disclosure через load_domain/describe_tool и существующий meta-dispatch описаны в MCP-руководстве. Scopes и права применяются при вызове; risk не заменяет согласие и отдельные требования денежной операции. JSON ниже — схема, а не успешный результат вызова.

partner_get_balance

Read the owner's partner-programme balance: {withdrawable, reserved, currency}. Amounts are decimal strings in RUB. withdrawable is already net of reserved; reserved is money frozen by a payout hold in flight. Takes no arguments — the partner is derived from the connection.

{
  "description": "Read the owner's partner-programme balance: {withdrawable, reserved, currency}. Amounts are decimal strings in RUB. `withdrawable` is already net of `reserved`; `reserved` is money frozen by a payout hold in flight. Takes no arguments — the partner is derived from the connection.",
  "domain": "partner",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {},
    "type": "object"
  },
  "name": "partner_get_balance",
  "outputSchema": null,
  "platform_version": "1.0.19",
  "required_scopes": [
    "partner:read"
  ],
  "risk": "read",
  "scope": "partner:read",
  "title": "Partner Get Balance"
}

Read the owner's existing partner invite links: personal + public, each with payload (dl_{code}) and canonical telegram_url through /r/l/{ref}/telegram. Takes no arguments — tenant and partner are derived from the connection.

{
  "description": "Read the owner's existing partner invite links: personal + public, each with `payload` (`dl_{code}`) and canonical `telegram_url` through /r/l/{ref}/telegram. Takes no arguments — tenant and partner are derived from the connection.",
  "domain": "partner",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {},
    "type": "object"
  },
  "name": "partner_get_invite_links",
  "outputSchema": null,
  "platform_version": "1.0.19",
  "required_scopes": [
    "partner:read"
  ],
  "risk": "read",
  "scope": "partner:read",
  "title": "Partner Get Invite Links"
}

partner_request_payout

Request partner payout approval. Owner-only. Takes no arguments: tenant, owner, amount, payout identity and payout route are derived server-side after human approval. Returns {status:"pending_approval", action_id}; never paid/executed.

{
  "description": "Request partner payout approval. Owner-only. Takes no arguments: tenant, owner, amount, payout identity and payout route are derived server-side after human approval. Returns {status:\"pending_approval\", action_id}; never paid/executed.",
  "domain": "partner",
  "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"
      }
    },
    "type": "object"
  },
  "name": "partner_request_payout",
  "outputSchema": null,
  "platform_version": "1.0.19",
  "required_scopes": [
    "partner:payout"
  ],
  "risk": "money",
  "scope": "partner:payout",
  "title": "Partner Request Payout"
}