Sign in
sign_inSign this agent in to Pomerado without a browser on this machine.
Call it without device_code to get verification_url and user_code. Give both to the person, who opens the link on any device, signs in and approves.
Then call it again with device_code every interval seconds. It returns status pending until they approve, then the API key, once.
Send the key as the Authorization: Bearer header of this MCP's signed-in URL (for a keyless connection, its URL without /keyless). It works on every Pomerado MCP and the REST API. On a Business team with environments, it works only in one: the environment whose MCP URL the sign-in started on, else your current key's, else production.
Never ask the person for a password.
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": "sign_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_code | No | The device_code from the call that started the sign-in. Omit it to start one. | |
| expires_in_days | No | When starting: how many days the API key lasts, 1 to 90 (default 30). |