What a role pays
salary_for_roleWhat full-time jobs for a role pay in India, worked out from the pay employers state on open job posts on Tivrin (at most 3 posts per employer, so one employer can't set the figure): the median and the middle half, in rupees a year, optionally for one city or experience level. Says so plainly when too few posts state pay. No sign-in needed. Abroad: pass country (AE, GB, US, SG, REMOTE…); the figure then comes only from that country's posts in one currency (its own, or the currency you pass), never converted, and visa_sponsored narrows it to sponsored roles.
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": {
"role": "<role>"
},
"name": "salary_for_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | A city in India, e.g. "Pune" (abroad: a city name in the posting). | |
| role | Yes | A role or field, e.g. "data analyst", "accounting", "staff nurse", or a field id from list_fields. | |
| country | No | IN (default), an ISO code such as AE, GB (or UK), US, SG, or REMOTE. | |
| currency | No | Abroad: the currency the posts state pay in (default: the country's own, e.g. AED for AE, USD for REMOTE). | |
| visa_sponsored | No | Abroad: only roles whose employer sponsors a work visa. | |
| experience_years | No | Target years of work experience (0 for fresher/entry-level) to narrow the salary benchmark. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| role | Yes | ||
| figure | Yes |