Create Auth Session
create_auth_sessionStarts a browser login and returns a loginUrl plus sessionRequestId. Use as STEP 0 in a fresh conversation before any protected tool. Show the loginUrl to the user as a clickable link in their language, then poll get_auth_session until 'active' and pass session_request_id on every later call. Returns sessionRequestId, loginUrl, pollUrl and expiresIn.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_auth_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Requested access scope: 'content_only' (read and send content), 'display_setup' (content plus connecting or creating screens; use it when the user has no screen yet) or 'admin' (everything, incl. rename, delete, rebind). Defaults to 'content_only'. | |
| agent_identifier | No | Optional display name of the MCP client or agent, shown to the user in the browser consent screen. Example: 'ChatGPT' or 'my-home-automation'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| pollUrl | No | ||
| loginUrl | No | ||
| expiresIn | No | ||
| requestedScope | No | ||
| sessionRequestId | No |