tool_csdn_login
Authenticate to CSDN via a visible browser to solve captchas and save the session cookies and localStorage for later headless publishing.
Instructions
Open a visible browser to log into CSDN and save the session.
First-time login MUST be visible (headless=False) so you can solve any captcha. After login is detected, the cookies + localStorage are saved so publish_csdn can run headless later. Complete the login in the browser window that opens.
Args: headless: Must be False for first login (kept for flexibility). timeout_ms: How long to wait for login (default 3 minutes).
Returns: dict with {ok, message, saved, path?}
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": "tool_csdn_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headless | No | ||
| timeout_ms | No |