Prepare an optional adviser link
create_adviser_handoff_linkReturn a link when the client prefers to complete a website form, using comparison_id from the comparison. No contact details, lead or email are sent. When the web form is disabled the server answers 503 adviser_unavailable: offer contact@sp-insurance.ch instead. For a client who asks you to send the request in this conversation, use request_adviser_contact after explicit consent instead. Swiss Premium Insurance assistance is optional; clients may apply directly with insurers.
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": {
"comparison_id": "<comparison_id>"
},
"name": "create_adviser_handoff_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| agentContext | No | Deprecated alias of agent; not with agent. | |
| comparison_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| expires_at | No | ||
| handoff_url | Yes | ||
| submits_lead | Yes | ||
| transmits_contact_data | Yes |