set_vorbereitung
Deliver the prepared result for a workflow preparation you were asked for (the task text names the vorbereitung_id). entwurf: {mail?:{to (one address, '' if unknown), subject, body, attachments?:[document_id]}, text? (e.g. the result of a pre-check, appointment proposals), dokument_id?}. Only while the preparation is angefragt or angepasst (Tagesplan suggestions, quelle=tagesplan: also while bereit — your version replaces the draft on the card; put your answer/explanation for the human into text). Agent cards (quelle=agent, create_vorschlag): while open (bereit/angepasst/angefragt) your version replaces the draft and the card is up for decision again; once angenommen, send ONLY entwurf.text = the result of the action you were asked to carry out (shown on the card). Creates the person's handoff with the draft (or attaches the text to the open handoff named in the node config). NEVER sends anything — only the person's explicit yes in the handoff does.
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": {
"vorbereitung_id": "<vorbereitung_id>",
"entwurf": "<entwurf>"
},
"name": "set_vorbereitung"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entwurf | Yes | Prepared result: {mail?: {to, subject, body, attachments?}, text?, dokument_id?} | |
| vorbereitung_id | Yes | ID of the preparation |