Ai Context schemas of the ObjectStack AI Protocol: AiContext, AiContextBody, AiContextRelated — each property with its type, default and a TypeScript example.
A child object with a reference field (lookup, master-detail, user or tree) that points at the pack's root object
field
string
optional
The child's reference field that points at the root. Required when the child has several such fields; with one, it may be omitted. Resolved once, on the published definition
fields
string[]
optional
The columns read for each row, in order (at most 10). A lookup among them is answered with the name of the record it points at. Omit to read the row's name only
A long-text field of the root object (textarea, markdown, html, richtext). A body past the render service's bound is carried as an outline of its headings, each section read by its anchor
A long-text field of the root object (textarea, markdown, html, richtext). A body past the render service's bound is carried as an outline of its headings, each section read by its anchor
A child object with a reference field (lookup, master-detail, user or tree) that points at the pack's root object
field
string
optional
The child's reference field that points at the root. Required when the child has several such fields; with one, it may be omitted. Resolved once, on the published definition
fields
string[]
optional
The columns read for each row, in order (at most 10). A lookup among them is answered with the name of the record it points at. Omit to read the row's name only