apply_candidate
Atomically replace project template, full panel sequence and supplied copy with one successfully rendered comparison choice. Send expectedRevision explicitly. Rejects changed project or uploaded images; create a new comparison instead of overwriting newer work. Uses pinned template and original owned assets; preview placeholder words are never saved. Returns new project revision.
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": {
"projectId": "<projectId>",
"candidateId": "<candidateId>",
"choice": "<choice>",
"expectedRevision": "<expectedRevision>"
},
"name": "apply_candidate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| choice | Yes | ||
| projectId | Yes | ||
| candidateId | Yes | ||
| expectedRevision | Yes |