Play Preview
play_previewOpen a limited browser preview of a complete invention document: the piece plays in the user's browser after they tap Play, with a reduced feature set, and may drop out. Use it only when no local Fyug tools are present; when they are, play the piece with them instead. Pass json as a serialized JSON string of at most 64 KiB. The document gets check_invention's check first and fails with the same error; it also fails, naming what it used, when it needs something the browser preview lacks (a bundled development or sample, or a module type its engine does not build). Succeeds with {playable, version, module_count, connection_count}. Nothing is stored.
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": {
"json": "<json>"
},
"name": "play_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | Complete invention JSON string (with modules, connections, etc.), at most 64 KiB. |