Connect service
stack_connect_serviceConnect a catalog service such as Slack, GitHub or Notion to the STACK account. This is the same as stack_create_connect_link and keeps its name for existing users: it returns a one-time link, the person opens it in their browser while signed in to STACK and gives the credential there, and the connection is stored when they finish. The credential never passes through this conversation, so the tool accepts only service_id, scopes and connection_name and refuses any other argument. A service can hold several connections, each with its own name: connection_name names this one. Returns link_id, provider, method (oauth or key), status, connection_name, expires_at and url.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"service_id": "<service_id>"
},
"name": "stack_connect_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | No | OAuth scopes to ask for when the service connects through the provider sign-in. Omit for the service defaults. | |
| service_id | Yes | Catalog service id or provider name (e.g. "github", "slack") | |
| connection_name | No | What to call this connection (letters, digits, spaces and hyphens, up to 40 characters). Needed to add a second connection of a service the account already has; the first one is named default. Never a credential. |