Get current account and project
whoamiWhoami
When to use: MCP cold-start: 키 만으로 어떤 project_id 에 바인딩되어 있는지 알아낼 때. 이후 모든 tool 호출의 project-id 헤더 값으로 응답의 project_id 를 그대로 사용한다.
Limitations: Kong key-auth / service-JWT 만 지원. Cognito 호출자는 단일 project binding 이 없으므로 400. project-id 헤더 불필요.
Examples:
Q: 이 API 키는 어느 프로젝트에 연결돼 있어? params: {}
Related resources: analytics://overview
Output shape: WhoamiResponse — project_id (binding), user_id (proxy user), roles + permissions (effective governance role/permission).
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 |
|---|---|---|---|
No arguments | |||