inputs:
  text/email:
    required@bool: yes
    default: you@example.com
    type: email

required:

default:

description:

A sentence describing what the value is for.

This is what an AI agent reads when the automation answers an agent tool, since an agent.tool script's inputs: block is the schema the model is shown.

allowed_values:

A list restricting the input to a fixed set of values.

inputs:
  text/priority:
    description: How urgent the request is
    required@bool: yes
    allowed_values@list:
      low
      normal
      high

type:

Type   Examples
bool   y/n, yes/no, on/off, true/false, 0/1
date   noon Jan 20 2021, tomorrow 5pm, next Friday 8am, +2 days
decimal   3.1415
email   mailbox@host.example
freeform   This is a line of arbitrary text (default)
geopoint   44.284536706018905, 20.7861328125
ip   1.2.3.4 or a1b2:c3d4:e5f6:a1b2:c3d4:e5f6:a1b2:c3d4
ipv4   1.2.3.4
ipv6   a1b2:c3d4:e5f6:a1b2:c3d4:e5f6:a1b2:c3d4
record_type   ticket
number   1234
timestamp   1606526867
uri   some-resource-name
url   https://cerb.ai/