Log in (customer)
loginAuthenticate a customer with email and password to get a session ID for account and order queries. Wrong credentials return success:false with a reason; password stays stored server-side.
Instructions
Authenticate a customer with email and password. Returns a session_id to use with get_customer and get_order_status. The credential is stored server-side and never returned. Returns success:false with a reason if the credentials are wrong.
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": {
"email": "<email>",
"password": "<password>"
},
"name": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The customer account email address. | ||
| password | Yes | The customer account password. |