complete_sign_in
Finish the GitHub sign-in started by sign_in and return a new Arclan API key. Pass the device_code from sign_in. If the user has not authorized in the browser yet, this returns status "pending" — wait poll_interval_seconds and call again. The api_key is shown ONCE; store it and send it as "Authorization: Bearer ".
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": {
"device_code": "<device_code>"
},
"name": "complete_sign_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_code | Yes | The device_code returned by sign_in |