list_platforms
Discover supported webhook platforms with their signature algorithms, header names, and special notes for integration.
Instructions
List all webhook platforms supported by Tern with their signature algorithm, header name and any special notes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/list-platforms.ts:3-16 (handler)The handler function `listPlatforms` fetches supported webhook platforms from the data source and returns them.
export async function listPlatforms() { return { count: PLATFORMS.length, platforms: PLATFORMS.map((p) => ({ id: p.id, name: p.name, algorithm: p.algo, headerName: p.header, secretNote: p.secretNote, specialNote: 'specialNote' in p ? p.specialNote : null, })), note: 'All platforms support optional queue, retry, DLQ and alerting via @hookflo/tern reliability layer', } } - src/index.ts:68-76 (registration)Registration of the `list_platforms` tool in the `ListToolsRequestSchema` handler.
{ name: 'list_platforms', description: 'List all webhook platforms supported by Tern with their signature algorithm, header name and any special notes.', inputSchema: { type: 'object', properties: {}, required: [], }, }, - src/index.ts:110-111 (handler)The execution logic for `list_platforms` in the `CallToolRequestSchema` handler.
} else if (name === 'list_platforms') { result = await listPlatforms()