Image

  • Images are represented using JSON with fields for URL, accessibility text, height, and width.

  • The url field specifies the image source and supports JPG, PNG, and GIF formats.

  • accessibilityText provides a description for screen readers and is required for all images.

  • Optional height and width fields can be used to specify the image dimensions in pixels.

An image displayed in the card.

JSON representation
{
  "url": string,
  "accessibilityText": string,
  "height": integer,
  "width": integer
}
Fields
url

string

The source url of the image. Images can be JPG, PNG and GIF (animated and non-animated). For example,https://www.agentx.com/logo.png. Required.

accessibilityText

string

A text description of the image to be used for accessibility, e.g. screen readers. Required.

height

integer

The height of the image in pixels. Optional.

width

integer

The width of the image in pixels. Optional.