MCPMCP-Tools/Kunden/get_client_credits
get_client_credits
Readclient-credits:read
Read one client's credits as shown in Clients: given, used, remaining, last addition, and the latest 50 credit-history entries. Read-only. Returns credits and names, without internal usage quantities, provider costs or credit configuration. Requires an identified agency user with Clients page access and access to this client.
Parameter
clientIdstringerforderlich
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_client_credits",
"arguments": {
"clientId": "string"
}
}
}Beispielantwort
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.