test_account_login
Create or reuse a disposable-email test account and log in to a website, storing credentials in test-accounts.json so they persist across test sessions.
Instructions
Create or reuse a test account for a website using a disposable email from Guerrilla Mail. Credentials are stored in test-accounts.json and reused across test sessions. Use action='auto' to login if credentials exist or create new ones if they don't.
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": {
"action": "<action>",
"account_key": "<account_key>"
},
"name": "test_account_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | auto: use stored credentials or create new (also re-creates if login fails). create: always create a new account. login: use stored credentials only — fails if none exist. | |
| login_url | No | URL of the login page. Required for 'login'; also used by 'auto' after account creation. | |
| step2_url | No | URL of a second signup page for multi-step forms where the password is on a separate page. Optional. | |
| signup_url | No | URL of the signup/registration page. Required for 'create' and 'auto' actions. | |
| account_key | Yes | Unique identifier for this account (e.g. 'jobright_main'). Used to store and retrieve credentials across sessions. | |
| email_selector | No | CSS selector for the email input field. Auto-detected if omitted. | |
| submit_selector | No | CSS selector for the submit button. Auto-detected if omitted. | |
| password_selector | No | CSS selector for the password input field. Auto-detected if omitted. | |
| pre_click_selector | No | CSS selector for a button/link to click after navigation before the signup form appears (e.g. a 'Join Now' button that opens a modal). Optional. | |
| step2_submit_selector | No | CSS selector for the submit button on step 2. Optional. | |
| step2_password_selector | No | CSS selector for the password field on step 2 of a multi-step signup form. Optional. |