auth_login-start
Starts a non-blocking Splits browser login, returning an approval URL and code so users can connect or create a workspace while the agent checks login status.
Instructions
Start a browser login without waiting for it, for MCP clients and agents that cannot block. Pass clientName with the product name of the app the person is using to talk to you (for example Claude Code), not the model name. Proves a new local key (or the one given with key), opens the approval page, and returns its URL and a code. Show the person the URL and the code, which they enter on the page, then call auth login-status right away without waiting for them to reply: it waits while they log in and approve (connect a workspace or create one). The request expires after 10 minutes.
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": {
"clientName": "<clientName>"
},
"name": "auth_login-start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Saved local key that proves this agent in a browser login, and becomes the treasury signer if the person creates a workspace. Without it, the login uses a new key, which is saved under the workspace's name after approval, whether the person connects or creates a workspace. | |
| name | No | Workspace alias. Defaults to the org name in lowercase with dashes. An existing workspace with this alias is replaced. | |
| clientName | Yes | The name of the app the person is using to talk to you, as they would recognise it: for example `Claude Code`, `Claude Desktop`, `Codex`, `Cursor` or `ChatGPT`. Use the product name, not the model name (not "Claude Opus"), not the person's name, and not "Splits CLI". The person sees it on the approval page before approving, and the API key is named after it. |