Argument
Value
{ jsonStr = JSON.stringify(args, null, 4) jsonViewer.openDrawer() }} >
{#if args && Object.keys(args).length > 0} {#each Object.entries(args).sort((a, b) => a[0].localeCompare(b[0])) as [arg, value]}
{arg}
{/each} {:else if args}
No arguments
{:else}
{/if}
Download
Use in a local script
copyToClipboard(jsonStr)} color="light" size="xs">
Copy to clipboard
{#if jsonStr.length > 100000}
Download
JSON is too large to be displayed in full.
{:else}
{/if}
Envs
If using the wmill client in your code, set the following env variables:
BASE_URL="{window.location.origin}" WM_TOKEN="{'
'}"
TypeScript
{typescriptCode()}
Python
{pythonCode()}