連上本人的帳號
connect_account第一次使用時呼叫一次:取得 api_key、login_url 與確認代碼(code)。把 login_url 交給本人並告訴他代碼,他打開連結用 Google 或 LINE 登入、看到相同的代碼後按允許,這把 api_key 才能用(連結 30 分鐘內有效)。請保存 api_key,之後不用再登入;用 get_account 確認是否已經連上。
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": "connect_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | 選填。你的名稱,例如 Claude;本人在確認頁與網站的「我的」會看到。 |