get_integration_setup
Retrieve current webhook return URL and integration name settings for social media analytics across multiple platforms.
Instructions
Get the current integration settings (webhook return URL and integration name).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/integration-setup.ts:10-17 (handler)The handler function for get_integration_setup.
async () => { try { const data = await apiGet("/setup"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } catch (e) { return { content: [{ type: "text", text: String(e) }], isError: true }; } } - src/tools/integration-setup.ts:6-18 (registration)Registration of the get_integration_setup tool.
server.tool( "get_integration_setup", "Get the current integration settings (webhook return URL and integration name).", {}, async () => { try { const data = await apiGet("/setup"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } catch (e) { return { content: [{ type: "text", text: String(e) }], isError: true }; } } );