Send the filled form
create_draftSubmits a filled posting form (one ad in fields, or up to 50 vacancies in items). NaRabotu validates it like its own site form and returns field errors, or saves a draft. With an e-mail, NaRabotu sends a 6-digit confirmation code to that address and returns a draft_id; without an e-mail it returns a link where the user publishes on the site. Nothing is published at this step.
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": {
"kind": "<kind>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| No | The user's e-mail: the confirmation code is sent there; the ads belong to this account (created if new). | ||
| items | No | Several vacancies (kind="job" only), up to 50; each like fields. | |
| fields | No | One ad: field values by the posting form field names (city and profession may be names). | |
| locale | No | Language of names and links (default ru). | |
| employer | No | For vacancies: who hires. |