Cast Candidates
lab_cast_kandidatenPropose THREE candidates for ONE role, the way a street-casting director does: the obvious face, the one you would walk past, and the one nobody would think of. Casting is choosing — this gives you something to choose from. It creates nothing: pick one and create it with lab_create_character, passing that candidate's anlegen fields (they include project_id). Costs an LLM run per call, so it is credit-gated, and every call draws NEW candidates (it is not cached on purpose). What the project material fixes (age, gender, …) is the same in all three; the answer's spektrum says whether they really differ (ok, maengel). Fail-open: no material, no AI key or an unusable answer comes back as an EMPTY list with a note, not an error — fewer than three candidates carry note: unvollstaendig.
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": {
"project_id": "<project_id>",
"rolle": "<rolle>"
},
"name": "lab_cast_kandidaten"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notiz | No | What to know about the role that the material does not say, e.g. 'retired judge, buys the same roll every morning'. Without material, a note alone is enough. | |
| rolle | Yes | The role to cast, usually the character's name, e.g. 'Ottmar'. It becomes the sheet name of every candidate. | |
| project_id | Yes | Project id (from lab_list_projects) — positive integer as string. Its script and cast module are the material. |