Post a role
post-rolePost a software or tech role on selectrole for the person you are helping, starting from the role's public link. We read the page and fill what it states; pass any field to correct or complete it. Only pass what the person told you or the page states: never guess or invent a value. Statuses: needs_fields lists required fields still missing (a salary range is required where a pay-transparency law covers the role, and the message names the law): ask the person, then call again. needs_confirmation lists conflicts where your arguments contradict the page: check with the person, then call again with the right values, or with confirm_overrides: true to keep yours. checkout means the role is ready to pay for: give the person checkout_url, a Stripe payment page (not a sign-in) that works until expires_at. Stripe asks for their email there unless you passed email. Once they pay, the role goes live and we email that address a link to manage it. Nothing is published, and no account exists, until they pay. A role that is not a tech role (sales, recruiting, a catch-all application, …) is refused with error.code not_a_tech_role. Every reply quotes the price and lists questions_to_ask: the transparency questions still unanswered, each with the cents answering it saves. Ask the person each one and tell them the price and what answering would save; pass what they answer in answers, keyed by question id (jobs://posting-questions lists every id). Pass quote_only: true to check the role and get the price without opening a checkout (status quote). Paying: with the person's approval, pass payment_token, a Stripe shared payment token (spt_…) whose usage limits cover price.amount_cents in price.currency (get both with quote_only first), and email, which is required with a token. We authorize the card for exactly that amount without charging it and email the person a link to confirm (status payment_authorized). An address gets a few links an hour; past that nothing is sent or charged, and the error (link_limit_reached) says when to retry. Confirming charges the card and publishes the role; until then nothing is charged, and the hold lapses at expires_at. A token that is invalid, used, too small or in another currency, a declined card, or Stripe being down is an error with a code and a hint; nothing is charged in any of them.
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": {
"url": "<url>"
},
"name": "post-role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The role's public page, such as a Greenhouse, Lever, Ashby or careers-page link. It becomes the apply link. | |
| No | Optional: the email of the person posting, to start Stripe's checkout page with (Stripe asks for it otherwise). The receipt and the link to manage the role go to the email they pay with. | ||
| stack | No | Languages and tools, such as ["Go", "Postgres"]. | |
| title | No | The role's title, if the page gets it wrong. | |
| answers | No | The person's answers, keyed by question id, such as {"vacation_days": 28, "deploy_frequency": "daily"}. questions_to_ask names the ones that lower the price; jobs://posting-questions lists every id with its allowed values. | |
| currency | No | Three letters, such as USD or EUR. | |
| location | No | Required unless workplace is remote. | |
| seniority | No | ||
| workplace | No | ||
| quote_only | No | true to check the role and return the price and questions_to_ask without opening a checkout or saving anything. | |
| salary_max | No | Yearly, written in full. | |
| salary_min | No | Yearly, written in full, such as 120000. | |
| description | No | The full description of the role, at least 40 characters. | |
| company_name | No | ||
| payment_token | No | A Stripe shared payment token (spt_…) the person approved, covering price.amount_cents in price.currency. Needs email. We authorize it and email the person to confirm; nothing is charged until they do. | |
| company_website | No | ||
| employment_type | No | ||
| visa_sponsorship | No | Whether the role sponsors visas. Required: ask if the page does not say. | |
| confirm_overrides | No | true after the person confirmed the values that contradict the page (see needs_confirmation). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | The role as it will be posted. | |
| error | No | Only on an error result (isError). | |
| price | No | What the role costs as written (amount_cents in currency, before tax), and ways_to_lower: the sections that would lower it. | |
| title | No | ||
| status | No | ||
| message | No | ||
| missing | No | With needs_fields: each missing or invalid field and why. | |
| required | No | With a payment token that does not cover the price: what a new token has to allow. | |
| conflicts | No | With needs_confirmation (and needs_fields): each argument that contradicts the page. | |
| expires_at | No | With checkout: when checkout_url stops working. With payment_authorized: when the hold on the card lapses unless the person confirms. | |
| checkout_url | No | With checkout: the Stripe page the person pays on. A payment page, not a sign-in. | |
| company_name | No | ||
| read_from_page | No | With needs_fields and needs_confirmation: what the page stated. | |
| questions_to_ask | No | Unanswered transparency questions, each with what answering it takes off the price now. |