Get User Profile
get_user_profileReturn the authenticated user's profile: identity fields (email, firstName, lastName) for conversation context, plus available credits (creditsAmount) and subscription status. Read-only - does not change account state. Call this before create_cover_letter / regenerate_cover_letter (and optionally with get_cover_letter_cost) so you know whether the user can afford generation. Prefer this over asking the user for their balance.
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": "get_user_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| No | |||
| lastName | No | ||
| firstName | No | ||
| creditsAmount | No | ||
| hasSubscription | No |