Skip to content
Developer Preview

NoticeSubject

systemNotice: the durable thing the notice is about. id is required whenever the object is present; label is the producer’s sanitized, already-capped display value, omitted when it is empty, never "".

  • id
  • label
Source

schema/msp/experimental/msp.schema.json#/types/NoticeSubject

{
"description": "`systemNotice`: the durable thing the notice is about.\n`id` is required whenever the object is present; `label` is the\nproducer's sanitized, already-capped display value, omitted when it is\nempty, never `\"\"`.",
"properties": {
"id": {
"description": "The subject's durable identity: for `monitor`, the monitor's task id\n(its `toolCall` `itemId`); for `hook`, the hook run's item id (the opening `HookRunStarted` record's event id).",
"type": "string"
},
"label": {
"description": "The subject's bounded display label (the `hookRun.label` shape).",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}