Save RetroAchievements credentials
ra_save_credentialsValidate a user-provided RetroAchievements username and Web API key against the live API, then persist them to a local config file for future tool calls.
Instructions
Validate a RetroAchievements username + Web API key against the live API, then persist them to a local config file so future tool calls work without env vars. USE ONLY with values the user typed in chat themselves — never guess or fabricate an API key. If the user does not have a key, point them at https://retroachievements.org/controlpanel.php first.
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": {
"username": "<username>",
"webApiKey": "<webApiKey>"
},
"name": "ra_save_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | The user's RetroAchievements username, as typed by them. | |
| webApiKey | Yes | The user's Web API Key from https://retroachievements.org/controlpanel.php, as typed by them. Do not invent this value. |