Prompts

simple-prompt

A prompt with no arguments

args-prompt

A prompt with two arguments, one required and one optional

Input arguments:

[
  {
    "name": "city",
    "title": null,
    "description": "Name of the city",
    "required": true
  },
  {
    "name": "state",
    "title": null,
    "description": null,
    "required": false
  }
]

completable-prompt

First argument choice narrows values for second argument.

Input arguments:

[
  {
    "name": "department",
    "title": null,
    "description": "Choose the department.",
    "required": true
  },
  {
    "name": "name",
    "title": null,
    "description": "Choose a team member to lead the selected department.",
    "required": true
  }
]

resource-prompt

A prompt that includes an embedded resource reference

Input arguments:

[
  {
    "name": "resourceType",
    "title": null,
    "description": "Type of resource to fetch",
    "required": true
  },
  {
    "name": "resourceId",
    "title": null,
    "description": "ID of the text resource to fetch",
    "required": true
  }
]