agora_get_user_info
Retrieve user profile details and shipping addresses from Agora to personalize shopping experiences and streamline checkout processes.
Instructions
Get the current user's profile and shipping addresses in Agora.
Returns:
Dict containing user profile info (firstname, lastname, email) and list of shipping addresses
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": "agora_get_user_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/agora_mcp/server.py:154-164 (handler)The async handler function decorated with @mcp.tool() that implements the agora_get_user_info tool by calling the Agora client's get_user_info method and handling the response.
@mcp.tool() async def agora_get_user_info() -> Dict: """ Get the current user's profile and shipping addresses in Agora. Returns: Dict containing user profile info (firstname, lastname, email) and list of shipping addresses """ response = get_agora().get_user_info() return handle_response(response)