Get widget embed snippet
get_embed_snippetReturn the SingChat chat-widget embed code for this workspace's web inbox, in three flavors: plain HTML, React (useEffect), and Next.js (next/script). Requires a workspace API key. Optionally pass platform to get just one flavor.
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": "get_embed_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | Which snippet to return. Omit to get all three. |