Optional_Mode identifier (optional for backward compatibility)
OptionalconfigurationOptional agent configuration ID
OptionalconfigurationOptional agent configuration display name
OptionalentityEntity name from metadata. Required on type: "record".
OptionalidID of the mentioned agent/user/entity/query. Optional on record (PK fields are siblings).
OptionalkeysEscape hatch when a PK field name collides with a reserved mention key. Normal record links put PK fields as siblings instead.
OptionalnameDisplay name. Required for agent/user/entity/query mentions.
Optional on type: "record" — omit (or leave empty) for an icon-only pill
when surrounding prose already names the record.
Type of mention. record is a row (opens via OpenEntityRecord), not an entity definition.
Mention content (@agent, @user, #entity, #query, or a clickable record row)