Loyalty balance
check_loyaltyLook up a loyalty member by member_id. Returns balance, tier, lifetime_points, and the most recent 10 transactions so the agent can ground its recommendation ("you have 320 points, enough for a free coffee").
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_session_id": "<agent_session_id>",
"member_id": "<member_id>"
},
"name": "check_loyalty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member_id | Yes | ||
| agent_session_id | Yes |