Generate Embed snippet
grona_generate_snippetGenerate escaped Embed HTML with optional page-variable assignment for Grona snippets, including anti-flicker for dashboard usage; this helper does not install anything.
Instructions
Generate escaped Embed HTML and optional page-variable assignment. Dashboard snippet may include anti-flicker; this helper installs nothing.
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": {
"workspaceId": "<workspaceId>"
},
"name": "grona_generate_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segmentId | No | Custom window variable name, up to 128 characters. | |
| workspaceId | Yes | ||
| segmentValue | No | Exact page-variable string match. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||