MCPFerramentas MCP/Clientes/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.

Parâmetros
clientIdstringobrigatório
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Exemplo de solicitação
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_client_credits",
    "arguments": {
      "clientId": "string"
    }
  }
}
Exemplo de resposta
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.