lifecycle_transition
Execute a state transition on a session. Accepts either to_state (target state name per Servicialo spec: confirmed, in_progress, completed, verified, documented, cancelled, no_show) or action (semantic verb: confirm, start, complete, verify, document, cancel, no_show). When to_state=no_show, no_show_type is required. NOTE: to_state="cancelled" / action="cancel" is rejected — this tool would skip the cancellation event, policy and plan adjustment: use booking_cancel (applies the cancellation policy, requires confirm) or scheduling_cancel. NOTE: to_state="delivered" / action="deliver" is NOT available via MCP (ref PDC-SEC-001) — MCP authentication cannot validate actor-as-Proveedor. Delivery must be performed via the REST endpoint PATCH /api/organizations/[orgSlug]/coordinalo/sessions/[sessionId]/deliver which enforces provider binding. Returns transition record with from, to, at, by, method fields. Requires X-Org-Api-Key.
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": {
"orgSlug": "<orgSlug>",
"session_id": "<session_id>"
},
"name": "lifecycle_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| action | No | ||
| apiKey | No | ||
| orgSlug | Yes | ||
| evidence | No | ||
| to_state | No | ||
| session_id | Yes | ||
| no_show_type | No | ||
| delivery_type | No |