whoami
บอกว่าการเชื่อมต่อนี้ยืนยันตัวตนแล้วหรือยัง และเป็นบัญชีใด (user_id + scopes จาก OAuth token) พร้อมอีเมลติดต่อทีมงาน. ใช้เมื่อผู้ใช้ถามว่าเชื่อมบัญชีถูกไหม หรือ tool อื่นตอบเรื่องสิทธิ์/เข้าสู่ระบบแล้วต้องการตรวจ — ไม่ต้องเรียกก่อนใช้ tool อื่น (tool อื่นตรวจสิทธิ์เอง) · โควตาคงเหลือดูจาก quota ในผลของ tool ที่นับโควตา ไม่ใช่ที่นี่ ไม่นับโควตา · อ่านอย่างเดียว · authenticated=False = ยังไม่เชื่อมบัญชี (ยังได้ support_email)
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": "whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | No | ||
| user_id | No | ||
| authenticated | No | ||
| support_email | No |