login_via_browser_capture
Captures an HRMS cookie by opening a local web page for the user to paste their cookie header. Verifies the cookie to authenticate with HRMS.
Instructions
Opens a local web page where the user can paste their HRMS Cookie header via a browser form. IMPORTANT: Tell the user to open http://localhost:/ in Chrome BEFORE calling this tool — the tool blocks until the cookie is submitted (up to timeout_seconds). The port is dynamic; if it times out the error message includes the URL. Prefer login() for a simpler flow. Returns success once the cookie is captured and verified against HRMS.
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": "login_via_browser_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_seconds | No | Seconds to wait for the user to paste the cookie in the browser. Default 180 (3 min). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||