Skip to content

Class: ToolsUpdateMessage

Push notification from the extension host to the activity-panel webview when the tool catalogue changes. Closes audit §3.1 row 28. payload is free-form per Article XV.2 — its inner shape { tools: ToolsPanelItem[], hasToolInventory?, hasSelection? } is narrowed at the activity-panel consumer.

URI: debrief:class/ToolsUpdateMessage

 classDiagram
    class ToolsUpdateMessage
    click ToolsUpdateMessage href "../../classes/ToolsUpdateMessage/"
      ToolsUpdateMessage : payload





        ToolsUpdateMessage --> "1" Any : payload
        click Any href "../../classes/Any/"



      ToolsUpdateMessage : type


Slots

Name Cardinality and Range Description Inheritance
type 1
String
Discriminator — always the literal tools:update direct
payload 1
Any
Nested payload { tools, hasToolInventory?, hasSelection? } direct

Identifier and Mapping Information

Schema Source

  • from schema: https://debrief.info/schemas/debrief

Mappings

Mapping Type Mapped Value
self debrief:ToolsUpdateMessage
native debrief:ToolsUpdateMessage

LinkML Source

Direct

name: ToolsUpdateMessage
description: 'Push notification from the extension host to the activity-panel webview
  when the tool catalogue changes. Closes audit §3.1 row 28. `payload` is free-form
  per Article XV.2  its inner shape `{ tools: ToolsPanelItem[], hasToolInventory?,
  hasSelection? }` is narrowed at the activity-panel consumer.'
from_schema: https://debrief.info/schemas/debrief
attributes:
  type:
    name: type
    description: Discriminator — always the literal `tools:update`.
    from_schema: https://debrief.info/schemas/mcp
    domain_of:
    - GeoJSONPoint
    - GeoJSONEmptyPoint
    - GeoJSONLineString
    - GeoJSONPolygon
    - GeoJSONMultiPoint
    - GeoJSONMultiLineString
    - GeoJSONMultiPolygon
    - TrackFeature
    - ReferenceLocation
    - SystemState
    - MultiPointFeature
    - MultiPolygonFeature
    - NarrativeEntry
    - CircleAnnotation
    - RectangleAnnotation
    - LineAnnotation
    - TextAnnotation
    - VectorAnnotation
    - PolyAnnotation
    - ToolParameter
    - FileProvEntry
    - StacItem
    - StacCatalog
    - StacLink
    - StacAsset
    - StacItemAssetDefinition
    - StacCollection
    - RawGeoJSONFeature
    - RawGeoJSONFeatureCollection
    - DatasetAxisMetadata
    - DatasetEntry
    - StoryboardFeature
    - SceneFeature
    - SceneThumbnailAssetEntry
    - MCPContentItem
    - MCPParamSchema
    - ToolsUpdateMessage
    range: string
    required: true
    equals_string: tools:update
  payload:
    name: payload
    description: Nested payload `{ tools, hasToolInventory?, hasSelection? }`. Free-form
      per Article XV.2.
    from_schema: https://debrief.info/schemas/mcp
    rank: 1000
    domain_of:
    - ToolsUpdateMessage
    range: Any
    required: true

Induced

name: ToolsUpdateMessage
description: 'Push notification from the extension host to the activity-panel webview
  when the tool catalogue changes. Closes audit §3.1 row 28. `payload` is free-form
  per Article XV.2  its inner shape `{ tools: ToolsPanelItem[], hasToolInventory?,
  hasSelection? }` is narrowed at the activity-panel consumer.'
from_schema: https://debrief.info/schemas/debrief
attributes:
  type:
    name: type
    description: Discriminator — always the literal `tools:update`.
    from_schema: https://debrief.info/schemas/mcp
    alias: type
    owner: ToolsUpdateMessage
    domain_of:
    - GeoJSONPoint
    - GeoJSONEmptyPoint
    - GeoJSONLineString
    - GeoJSONPolygon
    - GeoJSONMultiPoint
    - GeoJSONMultiLineString
    - GeoJSONMultiPolygon
    - TrackFeature
    - ReferenceLocation
    - SystemState
    - MultiPointFeature
    - MultiPolygonFeature
    - NarrativeEntry
    - CircleAnnotation
    - RectangleAnnotation
    - LineAnnotation
    - TextAnnotation
    - VectorAnnotation
    - PolyAnnotation
    - ToolParameter
    - FileProvEntry
    - StacItem
    - StacCatalog
    - StacLink
    - StacAsset
    - StacItemAssetDefinition
    - StacCollection
    - RawGeoJSONFeature
    - RawGeoJSONFeatureCollection
    - DatasetAxisMetadata
    - DatasetEntry
    - StoryboardFeature
    - SceneFeature
    - SceneThumbnailAssetEntry
    - MCPContentItem
    - MCPParamSchema
    - ToolsUpdateMessage
    range: string
    required: true
    equals_string: tools:update
  payload:
    name: payload
    description: Nested payload `{ tools, hasToolInventory?, hasSelection? }`. Free-form
      per Article XV.2.
    from_schema: https://debrief.info/schemas/mcp
    rank: 1000
    alias: payload
    owner: ToolsUpdateMessage
    domain_of:
    - ToolsUpdateMessage
    range: Any
    required: true