@sinch/mcp
Version:
Sinch MCP server
25 lines • 896 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.registerAppId = void 0;
const zod_1 = require("zod");
const utils_1 = require("../../utils");
const registerAppId = (server, tags) => {
if (!(0, utils_1.hasMatchingTag)(['all', 'conversation', 'notification'], tags)) {
return;
}
server.prompt('conversation-app-id', {
appId: zod_1.z.string().describe('The ID of the app to use for the Sinch conversation API')
}, ({ appId }) => ({
messages: [
{
role: 'user',
content: {
type: 'text',
text: `Please include the app ID ${appId} when the request will require to use a tool related to the Sinch Conversation API.`
}
}
]
}));
};
exports.registerAppId = registerAppId;
//# sourceMappingURL=app-id.js.map