Prepare a link for a person
smartwebchat_prepare_handoffCreates a link for a person from the plan, language and industry passed in. For a plan with self-service sign-up it is a single-use sign-up link that carries them into registration and onboarding. The link expires after 15 minutes and works once. With recommended_plan white_label the link leads to the white label page and carries no personal data. The note in the response states the conditions of the plan. It does not create an account or a trial; the person does that by signing up. Works without authentication. The operator can turn this off; it then answers handoff_disabled. /agents/start shows the current status. A retry with the same idempotencyKey returns the same link while it is valid.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "smartwebchat_prepare_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language of the sign-up page, for example 'en'. Unsupported languages fall back to 'de'. | |
| industry_key | No | Industry of the business, one of `how_to_test.agent_demo_contract.industries` in /agents/start. | |
| idempotencyKey | No | Send the same key on every retry of the same request; a retry returns the same link for up to 15 minutes. | |
| demo_session_id | No | Optional demo session id from the scanner demo; its context is restored after sign-up. | |
| recommended_plan | No | Plan for the link: business, agency, white_label. A plan with a trial preselects that trial type; the person can change it. For white_label the link leads to the white label page instead of a sign-up. The note in the response states the conditions of the plan. |