get_entitlements
Check whether the user can publish right now. Use it BEFORE create_listing, and whenever the user asks "how many listings can I still post?" or "do I have enough credit?". When you are about to publish, pass the role you will use in create_listing and read can_create_for_role — true means go ahead, false means show the user the pay_url instead of attempting the publish; omit role for a general overview. Always returns success, membership_key, included (true = listings are covered by the plan), current_active_listings, credit_cost (credits per listing; null when included), wallet_balance, can_pay_from_wallet, can_create_listing and pay_url (set only when the user cannot publish). Paid plans also return max_active_listings and remaining_slots (null = unlimited). The free tier instead caps supply and demand listings SEPARATELY and returns max_active_listings_per_intent, active_supply, active_demand, can_create_supply and can_create_demand — there, can_create_listing is true if EITHER side has room, which is why passing role matters: can_create_for_role answers for the side of that role only. Example: role="career_employer" returning can_create_for_role=false with a pay_url means send the user to that link instead of attempting the publish.
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_entitlements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Optional. The role you are about to publish as — the same value you will pass to create_listing. When set, the response adds can_create_for_role for exactly that role. Example: "career_employer". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||