switchTab()} options={{ right: 'As JSON' }} />
Arguments can be edited either using the wizard, or by editing their JSON Schema.
{#if !viewJsonSchema}
{#if schema.properties && Object.keys(schema.properties).length > 0 && schema.required} Name Type {#if !lightMode} Default Description {/if} {#key schema.required} {#each schemaPropertiesToDisplay(schema) as displayInfo (displayInfoKey(displayInfo))} {/each} {/key} {:else}
This schema has no arguments.
{/if}
{:else}
{ try { schema = JSON.parse(schemaString) error = '' } catch (err) { error = err.message } }} bind:code={schemaString} lang="json" class="small-editor" />
{#if !emptyString(error)}
{error}
{:else}

{/if} {/if}
handleAddOrEditArgument(e.detail)} bind:editing bind:oldArgName propsNames={Object.keys(schema.properties ?? {})} />