Smithery

tool_router.session.link.create

Initiates an authentication link session for a specific toolkit within a tool router session. Returns a link token and redirect URL that users can use to complete the OAuth flow.

Remote smithery/composio

Other tools also called tool_router.session.link.create? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "alias": {
      "type": "string",
      "description": "A human-readable alias for this connected account. Must be unique per entity and toolkit within the project."
    },
    "toolkit": {
      "type": "string",
      "example": "github",
      "minLength": 1,
      "description": "The unique slug identifier of the toolkit to connect"
    },
    "session_id": {
      "type": "string",
      "format": "toolRouterSessionId",
      "example": "trs_LX9uJKBinWWr",
      "description": "The unique identifier of the tool router session"
    },
    "callback_url": {
      "type": "string",
      "format": "uri",
      "example": "https://myapp.com/callback",
      "description": "URL where users will be redirected after completing auth"
    },
    "experimental": {
      "type": "object",
      "properties": {
        "account_type": {
          "enum": [
            "PRIVATE",
            "SHARED"
          ],
          "type": "string",
          "description": "Sharing model for this connected account. PRIVATE (default) is usable only by the owning user_id. SHARED is reachable from a tool-router session ONLY when explicitly pinned in the session config — at most one SHARED connection per toolkit per session. Sessions never use a SHARED connection implicitly.",
          "x-experimental": true
        },
        "acl_config_for_shared": {
          "type": "object",
          "properties": {
            "allow_all_users": {
              "type": "boolean",
              "description": "Wildcard \"any user_id in the project\" allow toggle. Only valid on SHARED connections."
            },
            "allowed_user_ids": {
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 256,
                "minLength": 1
              },
              "maxItems": 1000,
              "description": "Explicit allow list of user_ids who can use this SHARED connection."
            },
            "not_allowed_user_ids": {
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 256,
                "minLength": 1
              },
              "maxItems": 1000,
              "description": "Explicit deny list. Wins on conflict with allow_all_users and allowed_user_ids."
            }
          },
          "description": "Access control for SHARED connections. Resolution rule (only fires when caller != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW; user in allowed_user_ids → ALLOW; else DENY. Default state (omitted or {}) is deny-by-default — only the creator can use.",
          "x-experimental": true
        }
      },
      "description": "Experimental features - not stable, may be modified or removed in future versions.",
      "x-experimental": true
    }
  }
}