Strumento: get_user_profile
Recupera le informazioni del tuo profilo (nome ed email).
Il seguente esempio mostra come utilizzare curl per richiamare lo strumento MCP get_user_profile.
| Richiesta 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 }' |
Schema di input
Messaggio di richiesta per GetUserProfile.
Schema di output
Messaggio di risposta per GetUserProfile.
GetUserProfileResponse
| Rappresentazione JSON |
|---|
{ "name": string, "emailAddress": string } |
| Campi | |
|---|---|
name |
Il nome visualizzato dell'utente. |
emailAddress |
L'indirizzo email dell'account dell'utente. |
Annotazioni dello strumento
Suggerimento distruttivo: ❌ | Suggerimento idempotente: ✅ | Suggerimento di sola lettura: ✅ | Suggerimento open world: ❌