(props, { thread })
| 90 | export 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 }) { |
nothing calls this directly
no outgoing calls
no test coverage detected