도구: get_user_profile
자신의 프로필 정보 (이름 및 이메일)를 가져옵니다.
다음 샘플은 curl를 사용하여 get_user_profile MCP 도구를 호출하는 방법을 보여줍니다.
| curl 요청 |
|---|
curl --location 'https://people.googleapis.com/mcp/v1' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "get_user_profile", "arguments": { // provide these details according to the tool MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
입력 스키마
GetUserProfile 요청 메시지입니다.
출력 스키마
GetUserProfile의 응답 메시지입니다.
GetUserProfileResponse
| JSON 표현 |
|---|
{ "name": string, "emailAddress": string } |
| 필드 | |
|---|---|
name |
사용자의 표시 이름입니다. |
emailAddress |
사용자의 계정 이메일 주소입니다. |
도구 주석
파괴적 힌트: ❌ | 동일한 힌트: ✅ | 읽기 전용 힌트: ✅ | 오픈 월드 힌트: ❌