SlotDeclaration
One slot an Agent declares (1.58.0, FR-agents-13): its schema, its phi flag, who may write it and its default.
An object with 5 fields.
Fields
defaultanyThe value the slot holds when the Session starts and after
clear_slot; null when omitted.descriptionstringWhat the slot holds, for authors; never sent to the model.
phibooleanrequiredTrue when the value may hold protected health information: it is content under the Compliance profile, never logged, traced or shown to an observer.
schemamap of anyrequiredThe type of the value: one property of the JSON Schema subset Tool parameters use (
type of string, number, integer, boolean, array or object, with the keywords that subset admits), checked at create, draft update and publish (slot_schema_invalid).writable_byarray of SlotWriterWho may write the slot, each at most once;
["action"] when omitted, so that only transition and state actions write it.