cx_import_cookies
Import browser cookies to access Chaoxing when forced two-factor verification or password login restrictions occur.
Instructions
从浏览器导入学习通 Cookie(登录后 F12 复制,或用编辑器插件导出)。传入 [{name,value,domain?,path?}, ...]。适用于平台强制二次验证、密码登录被风控等场景。
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": {
"cookies": "<cookies>"
},
"name": "cx_import_cookies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookies | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||