Finish signing in to DNSimple
dnsimple_auth_completeFinish DNSimple OAuth sign-in when the browser is on a different machine by passing the full callback URL shown after approval; the CLI stores the resulting credential.
Instructions
Sign in to DNSimple with OAuth, step 2 of 2: finish the sign-in started by dnsimple_auth_login when the user's browser is on a different machine than this server. After the user approves on dnsimple.com, their browser lands on an address like http://127.0.0.1:/callback?code=…&state=… and shows a connection error, which is expected. Pass that whole address, exactly as copied from the address bar, as redirect_url. It is handed to the dnsimple CLI on this server, which completes the sign-in and stores the credential itself. The address only works for the sign-in in progress and only once.
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": {
"redirect_url": "<redirect_url>"
},
"name": "dnsimple_auth_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redirect_url | Yes | The full address the browser ended on after approving, e.g. "http://127.0.0.1:51996/callback?code=abc&state=xyz". |