Skip to content

ContextItem

One item of structured context, for example the page or record the person is looking at.

Member Type Description
type (required) string What kind of thing the item describes, for example page. 1 to 64 characters.
label (required) string A short label the agent can refer to. 1 to 256 characters.
uri string Where the item lives, when it has an address. 1 to 4096 characters.
data JSON The item's data, as JSON. Counts towards the 16 KB limit.

Unknown members a newer server sends are kept in the object's raw.

Used by SendMessage.