Skip to main content
All the prepare_ tools stage a change for your approval. Nothing happens until you confirm. See How it works.

Reading positions

list_listings

List your company’s positions. Permission: read company The filter uses open and closed, but each result’s status reads active or archived.

get_listing

One of your positions by id: the job description and must-have skills, and every setting you can change with prepare_update_listing. That includes application criteria, the message prompt, whether the position is hidden, the hiring team and primary contact, the ATS link, other locations, visa sponsorship, security clearance, and the salary even when it is hidden from candidates. Permission: read company The job description and interview process come back as cord’s own formatted text. To change either, your AI tool edits that text and sends it back whole.

list_team_members

Your company’s teammates: id, name and job title. Use it to choose the hiring team and the primary contact for a position. Emails and roles aren’t returned. Permission: read company

list_ats_jobs

Jobs in your company’s connected applicant tracking system (ATS): the job id and title. Use it to link a cord position to an ATS job. It returns an error if your company has no ATS connected. Permission: read company

Creating and editing positions

prepare_create_listing

Stage a new position for your approval. It covers the fields on cord’s position form. Permission: create listings A fully remote position has no main location. cord clears it when remote is only remote, so use remoteFrom to say where it can be worked from. A change that would do this to a position that has a main location is refused, with the way forward. Nothing is created until you confirm. New positions are reviewed first, as in cord.

prepare_update_listing

Stage an edit to one of your positions. Pass the listingId and only the fields to change. Everything else stays as it is. Permission: create listings It takes the same fields as prepare_create_listing. A list, such as skills, job roles, other locations or the hiring team, replaces the whole list, so pass every value it should keep. The approval shows only what changes, and marks a field being emptied as cleared. An edit that empties the main location is refused.

prepare_close_listing

Stage closing a position, as Close position does in cord. It stops being shown to candidates, and its intros and queued messages stop. Candidates who are waiting on a reply aren’t declined. Permission: create listings You can put it live again with prepare_resume_listing.

prepare_resume_listing

Stage putting a closed position live again. Permission: create listings cord refuses this when your company’s subscription has expired.

The pipeline

list_pipeline

The applications and conversations for one position, by stage. Permission: read pipeline Candidates appear as a handle and a display name such as “Ben H.”. Each row says who wrote last (lastMessageBy, the candidate or your company), who it is waiting on (waitingOn) and how long it has waited (daysWaiting). Use stage conversation to find the active threads you can reply to.

prepare_pipeline_action

Stage a stage change for a candidate who is already in a position’s pipeline. This is also how you accept or decline. There is no separate decline tool. Permission: change pipeline Actions: Declining can’t be undone. It only works on candidates already in the pipeline for that position, not on search results.

generate_decline_message

Write cord’s AI decline message for a candidate, as the web app’s AI decline does. It returns a draft that uses {{first_name}}. It doesn’t send anything. To decline, pass the draft as the message of prepare_pipeline_action with action set to decline. It can be slow, because the message is written on demand. Permission: change pipeline