authorize
Authenticate your Cloudreve v4 account via OAuth authorization code with PKCE. Opens a browser for login and waits for the callback to complete the authorization.
Instructions
Start Cloudreve v4 OAuth (authorization code + PKCE). Opens a browser and waits for the local callback. Requires CLOUDREVE_CLIENT_ID and CLOUDREVE_CLIENT_SECRET.
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": "authorize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_ms | No | How long to wait for the OAuth callback (default 300000) | |
| open_browser | No | Open the system browser (default true) |