pta_login
Logs into the Pintia practice and exam platform using email/phone and password, persists the session for reuse, and automatically solves slider CAPTCHA.
Instructions
登录并持久化会话;已有有效会话时直接复用。滑块验证码由纯协议求解器自动通过。
Args: email: 邮箱(与 phone 二选一,也可用环境变量 PTA_EMAIL)。 password: 密码(也可用环境变量 PTA_PASSWORD)。 phone: 手机号,不含 +86。 remember: 是否"记住我"。 max_captcha: 验证码重试轮数,默认 2;站点风控严格时调大无益。 pace: 轮次间退避秒数。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pta_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pace | No | ||
| No | |||
| phone | No | ||
| password | No | ||
| remember | No | ||
| max_captcha | No |