Leafwright auth status
leafwright_auth_statusCheck whether Leafwright MCP is authenticated. Completes a pending browser login if approved. Pass the device_code returned by leafwright_login when the client has no local storage, which is the case over HTTP.
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": "leafwright_auth_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_code | No | The device_code from leafwright_login. Required when the client stores no local auth state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | ||
| status | Yes | ||
| next_step | No | ||
| user_code | No | ||
| expires_at | No | ||
| token_source | No | ||
| active_project_id | No |