tool_check_csdn_login
Check if the saved CSDN session is still logged in before publishing, so an expired login does not cause a failed draft upload.
Instructions
Check whether the saved CSDN session is still logged in.
Opens a browser (headless by default), loads www.csdn.net with the saved storage state, and reports login status. Call this before publish_csdn to avoid a failed publish due to an expired session.
Args: headless: Run headless (default True for a quick check).
Returns: dict with {ok, logged_in, needs_login, saved_session, message}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headless | No |