MCPcopy Create free account
hub / github.com/CopilotKit/OpenTag / handler

Function handler

app/tools/showcase-tools.tsx:92–95  ·  view source on GitHub ↗
(props, { thread })

Source from the content-addressed store, hash-verified

90export const showIncidentTool = defineChannelTool({
91 name: "show_incident",
92 description:
93 "Render an interactive incident card with Acknowledge/Escalate buttons. " +
94 "Pass id, title, severity (SEV1/SEV2/SEV3) and a one-paragraph summary. " +
95 "The accent colour reflects severity; clicking Acknowledge updates the " +
96 "card in place, clicking Escalate posts a paging notice.",
97 parameters: incidentSchema,
98 async handler(props, { thread }) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected