get_interest_note_draft
Get matchwire's draft of the note to a company for one job
All MCP toolsRead
Start with this before sending a note with express_interest on a job: the draft matchwire holds of the person's note to that company, visible to the person alone. moment says which scene the job stands in now: match — the job stands as a match card for the person, and the draft is the card's (the same text get_patrol_digest carries; on a card that stands because the company proposed the job, the draft kept for the job when the person asked for one); outreach — the person found the job themselves, and the draft is the one kept when they asked for a draft on their own job page. draft is null when none exists; reading never generates one, and an outreach draft is only ever made by that press of the person's. The instruction each scene is written under is get_drafting_instructions (match / outreach); you may write the note yourself under it instead. Nothing is sent by this — to send, pass the draft, your own edit of it, or nothing as express_interest's note. A job that does not exist or is not published refuses with not_found.
Input schema
{
"type": "object",
"properties": {
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The person whose draft to read (persons.id — self)."
},
"jobId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The job the note would go to (jobs.id)."
}
},
"required": [
"personId",
"jobId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"moment": {
"type": "string",
"enum": [
"match",
"outreach"
],
"description": "The scene the draft belongs to: match while the job stands as a match card for the person, outreach otherwise (a job the person found)."
},
"draft": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "matchwire's draft of the note, sendable as express_interest's note as it is — null when no draft exists for this job."
},
"generatedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "When the draft was written (ISO 8601, UTC) — null exactly when draft is."
}
},
"required": [
"jobId",
"moment",
"draft",
"generatedAt"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}