Reject a glossary draft’s candidates
reject_glossary_draft_candidatesMark a ready draft’s candidates rejected and remember their source terms for the glossary, flagging them rejectedBefore in its later drafts (all but a term longer than an entry allows, which no draft can add); an entry a candidate conflicts with stays as it is. The draft is completed once every candidate is decided. Refused with GLOSSARY_DRAFT_NOT_FOUND for a draft not of this glossary, GLOSSARY_DRAFT_NOT_READY (naming its state) unless the draft is ready, and BAD_REQUEST naming candidates[i] for a candidate not of the draft, named twice or already decided. Answers with the draft. When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.
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": {
"glossaryId": "<glossaryId>",
"draftId": "<draftId>",
"candidateIds": "<candidateIds>"
},
"name": "reject_glossary_draft_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | The draft’s id, from draft_glossary or get_glossary_draft | |
| glossaryId | Yes | Glossary id, from list_glossaries | |
| candidateIds | Yes | The candidates’ ids, from get_glossary_draft |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| state | Yes | ||
| billing | Yes | ||
| costEur | Yes | A paid draft’s actual cost | |
| failure | Yes | ||
| readyAt | Yes | ||
| strings | Yes | Distinct source strings read at the start | |
| closedAt | Yes | ||
| createdAt | Yes | ||
| startedBy | Yes | The member who started it, by Clerk user id | |
| candidates | Yes | In the order proposed; empty until `ready` | |
| chunkTotal | Yes | Parts the strings are read in; `null` until drafting has begun | |
| chunksDone | Yes | Parts of the strings the model has read | |
| glossaryId | Yes | ||
| workflowId | Yes | The draft subject; `null` once it is deleted | |
| estimateEur | Yes | A paid draft’s estimate | |
| sourceLocale | Yes | ||
| targetLocales | Yes |